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

SVN-Revision: 6949
This commit is contained in:
Felix Fietkau 2007-04-15 07:22:11 +00:00
parent 45c2fcdbf5
commit 6d47d3ae11

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