summaryrefslogtreecommitdiffstats
path: root/package/base-files/default/etc
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-09 04:01:36 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-09 04:01:36 +0000
commitc9ab557bc5a0397aa952e2dc43eb5550d7de6aa2 (patch)
tree8bda5ae948e852f72df6d62a92de4532ae574560 /package/base-files/default/etc
parentcf9e23e52f91473bbf37d9298c648b2f7cc1dcae (diff)
add 1 second delay for natsemi ifup (sometimes won't come up otherwise)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4980 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/etc')
-rw-r--r--package/base-files/default/etc/hotplug.d/net/10-net3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/base-files/default/etc/hotplug.d/net/10-net b/package/base-files/default/etc/hotplug.d/net/10-net
index 0a24b052f..176b9372f 100644
--- a/package/base-files/default/etc/hotplug.d/net/10-net
+++ b/package/base-files/default/etc/hotplug.d/net/10-net
@@ -23,6 +23,9 @@ addif() {
case "$ACTION" in
add|register)
+ case "$PHYSDEVDRIVER" in
+ natsemi) sleep 1;;
+ esac
addif
;;
esac