fix bogus "interface not found" errors in ifup -a (#1580)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6949 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2007-04-15 07:22:11 +00:00
parent 7b7299df4a
commit 4766914d70
1 changed files with 1 additions and 1 deletions

View File

@ -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