add 1 second delay for natsemi ifup (sometimes won't come up otherwise)
authorFelix Fietkau <nbd@openwrt.org>
Mon, 9 Oct 2006 04:01:36 +0000 (04:01 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 9 Oct 2006 04:01:36 +0000 (04:01 +0000)
SVN-Revision: 4980

openwrt/package/base-files/default/etc/hotplug.d/net/10-net

index 0a24b052f3c2f0c94cf19f2ce37623dc4eddec02..176b9372f426f80454e65fce272a3d684d1467cb 100644 (file)
@@ -23,6 +23,9 @@ addif() {
 
 case "$ACTION" in
        add|register)
+               case "$PHYSDEVDRIVER" in
+                       natsemi) sleep 1;;
+               esac
                addif
        ;;
 esac