aboutsummaryrefslogtreecommitdiffstats
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
commit0bb19484e22b14965b7a992ddaba000442301eef (patch)
tree64acd5974587ad8bd90628ba4585eb41e4fd4dbe
parente129fce2b110f90b32af41b6c80d0dd347cfcb24 (diff)
downloadupstream-0bb19484e22b14965b7a992ddaba000442301eef.tar.gz
upstream-0bb19484e22b14965b7a992ddaba000442301eef.tar.bz2
upstream-0bb19484e22b14965b7a992ddaba000442301eef.zip
add 1 second delay for natsemi ifup (sometimes won't come up otherwise)
SVN-Revision: 4980
-rw-r--r--openwrt/package/base-files/default/etc/hotplug.d/net/10-net3
1 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/package/base-files/default/etc/hotplug.d/net/10-net b/openwrt/package/base-files/default/etc/hotplug.d/net/10-net
index 0a24b052f3..176b9372f4 100644
--- a/openwrt/package/base-files/default/etc/hotplug.d/net/10-net
+++ b/openwrt/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