1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-15 19:17:32 +03:00

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
This commit is contained in:
nbd 2007-04-15 07:22:11 +00:00
parent c72b703c85
commit 21479fd2fd

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