fix ifup hotplug event for static
[openwrt-10.03/.git] / 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