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-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/c9ab557bc5a0397aa952e2dc43eb5550d7de6aa2?hp=cf9e23e52f91473bbf37d9298c648b2f7cc1dcae 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 0a24b052f..176b9372f 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