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 502377b..32558de 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