add config option for autostart of network interfaces
[openwrt.git] / package / base-files / default / sbin / ifup
index c7055d4..81ec2c0 100755 (executable)
@@ -4,10 +4,7 @@
 . /sbin/ifdown "$@"
 
 config_get iftype "$1" type
-case "$iftype" in
-       bridge) config_get ifname "$1" ifnames;;
-       *) config_get ifname "$1" ifname;;
-esac
+config_get ifname "$1" device
 
 for dev in $ifname; do
        setup_interface "$dev" "$1"
This page took 0.020787 seconds and 4 git commands to generate.