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 52e50b17ecdbec5e0d0a6fdf3fe6555be0174091..dfee674915b8337f4a3b25000c114e09535b8368 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() {