aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/default
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-09 04:01:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-09 04:01:36 +0000
commit4ec2bfc56e86bc6929da64706d129db1e39fb229 (patch)
tree8bda5ae948e852f72df6d62a92de4532ae574560 /package/base-files/default
parent239268f5d84af9e76040150c7820173cf8a8d440 (diff)
downloadupstream-4ec2bfc56e86bc6929da64706d129db1e39fb229.tar.gz
upstream-4ec2bfc56e86bc6929da64706d129db1e39fb229.tar.bz2
upstream-4ec2bfc56e86bc6929da64706d129db1e39fb229.zip
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')
-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 0a24b052f3..176b9372f4 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