nuke mdev and replace it with hotplug2 :)
[openwrt/svn-archive/archive.git] / package / base-files / files / sbin / ifdown
index 540c69f169115efe2981aa4b050ff1e9f7f6ca5a..e00a4e38da39c98cd656d19c9e6f3d456665fcfa 100755 (executable)
@@ -21,7 +21,7 @@ config_get proto "$cfg" proto
 
 config_get iface "$cfg" device
 [ "$proto" = "static" ] && {
-       env -i ACTION="ifdown" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug "iface" &
+       env -i ACTION="ifdown" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug-call "iface" &
 }
 
 # call interface stop handler