summaryrefslogtreecommitdiff
path: root/openwrt/package
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 /openwrt/package
parente129fce2b110f90b32af41b6c80d0dd347cfcb24 (diff)
downloadmtk-20170518-0bb19484e22b14965b7a992ddaba000442301eef.zip
mtk-20170518-0bb19484e22b14965b7a992ddaba000442301eef.tar.gz
mtk-20170518-0bb19484e22b14965b7a992ddaba000442301eef.tar.bz2
add 1 second delay for natsemi ifup (sometimes won't come up otherwise)
SVN-Revision: 4980
Diffstat (limited to 'openwrt/package')
-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 0a24b05..176b937 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