fix ifup hotplug event for static
authorFelix Fietkau <nbd@openwrt.org>
Thu, 9 Nov 2006 22:11:11 +0000 (22:11 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 9 Nov 2006 22:11:11 +0000 (22:11 +0000)
SVN-Revision: 5489

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