add 1 second delay for natsemi ifup (sometimes won't come up otherwise)
[openwrt.git] / package / base-files / default / sbin / ifup
1 #!/bin/sh
2 # Copyright (C) 2006 OpenWrt.org
3
4 . /sbin/ifdown "$@"
5
6 config_get iftype "$1" type
7 case "$iftype" in
8 bridge) config_get ifname "$1" ifnames;;
9 *) config_get ifname "$1" ifname;;
10 esac
11
12 for dev in $ifname; do
13 setup_interface "$dev" "$1"
14 done
This page took 0.04961 seconds and 5 git commands to generate.