Parcourir la source

fix ifup hotplug event for static

SVN-Revision: 5489
Felix Fietkau il y a 19 ans
Parent
commit
57f2868c3d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      package/base-files/default/lib/network/config.sh

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

@@ -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