projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add config option for autostart of network interfaces
[openwrt.git]
/
package
/
base-files
/
default
/
sbin
/
ifup
diff --git
a/package/base-files/default/sbin/ifup
b/package/base-files/default/sbin/ifup
index
c40de38
..
81ec2c0
100755
(executable)
--- a/
package/base-files/default/sbin/ifup
+++ b/
package/base-files/default/sbin/ifup
@@
-4,14
+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.020721 seconds
and
4
git commands to generate.