From: Felix Fietkau 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: reboot~30718^2~59 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0bb19484e22b14965b7a992ddaba000442301eef;p=oweals%2Fopenwrt.git add 1 second delay for natsemi ifup (sometimes won't come up otherwise) SVN-Revision: 4980 --- 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