From: nbd Date: Mon, 9 Oct 2006 04:01:36 +0000 (+0000) Subject: add 1 second delay for natsemi ifup (sometimes won't come up otherwise) X-Git-Tag: fast2504n-3.10.28-merged~22942^2~59 X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=c9ab557bc5a0397aa952e2dc43eb5550d7de6aa2;p=openwrt.git 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 --- 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