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)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4980 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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