From c9ab557bc5a0397aa952e2dc43eb5550d7de6aa2 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 9 Oct 2006 04:01:36 +0000 Subject: 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 --- package/base-files/default/etc/hotplug.d/net/10-net | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/base-files/default/etc') 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 -- cgit v1.2.3