fixes variables, oops
authorJohn Crispin <john@openwrt.org>
Wed, 20 Aug 2008 11:45:23 +0000 (11:45 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 20 Aug 2008 11:45:23 +0000 (11:45 +0000)
SVN-Revision: 12344

package/base-files/files/lib/network/config.sh

index 52e50b1..dfee674 100755 (executable)
@@ -143,7 +143,7 @@ set_interface_ifname() {
 }
 
 setup_interface_none() {
-       env -i ACTION="ifup" INTERFACE="$config" DEVICE="$iface" PROTO=none /sbin/hotplug-call "iface" &
+       env -i ACTION="ifup" INTERFACE="$2" DEVICE="$1" PROTO=none /sbin/hotplug-call "iface" &
 }
 
 setup_interface_static() {