fix bogus "interface not found" errors in ifup -a (#1580)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6949 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
7b7299df4a
commit
4766914d70
|
@ -5,7 +5,7 @@
|
|||
[ $# = 0 ] && { echo " $0 <group>"; exit; }
|
||||
[ "x$1" = "x-a" ] && {
|
||||
config_cb() {
|
||||
[ -z "$2" ] || eval "$0 $2"
|
||||
[ interface != "$1" -o -z "$2" ] || eval "$0 $2"
|
||||
}
|
||||
config_load network
|
||||
exit
|
||||
|
|
Loading…
Reference in New Issue