fix ifup hotplug event for static
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 9 Nov 2006 22:11:11 +0000 (22:11 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 9 Nov 2006 22:11:11 +0000 (22:11 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5489 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 502377b6012afbd82bf54b8286a6bd4b63aa572c..32558de8f355a9d53aceecbf5e26bf782574e0d5 100755 (executable)
@@ -122,7 +122,7 @@ setup_interface() {
                                done
                        }
 
-                       env -i ACTION="ifup" INTERFACE="config" DEVICE="$iface" PROTO=static /sbin/hotplug "iface" &
+                       env -i ACTION="ifup" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug "iface" &
                ;;
                dhcp)
                        # prevent udhcpc from starting more than once