add 1 second delay for natsemi ifup (sometimes won't come up otherwise)
[openwrt.git] / package / base-files / default / etc / hotplug.d / net / 10-net
index b514075..176b937 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright (C) 2006 OpenWrt.org
 
-include network
+include /lib/network
 
 addif() {
        scan_interfaces
@@ -23,6 +23,9 @@ addif() {
 
 case "$ACTION" in
        add|register)
+               case "$PHYSDEVDRIVER" in
+                       natsemi) sleep 1;;
+               esac
                addif
        ;;
 esac
This page took 0.021943 seconds and 4 git commands to generate.