From e27f0acc6039e828d1142e7743d5b463aa05f403 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 22 Oct 2012 09:23:04 -0500 Subject: oldnet: make the default carrier timeout 0 Some types of interfaces do not have a carrier, so it doesn't make sense to automatically wait for one. Reported-by: X-Gentoo-Bug: 438970 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=438970 --- init.d/net.lo.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/net.lo.in b/init.d/net.lo.in index 47bdc2f..d42b5ae 100644 --- a/init.d/net.lo.in +++ b/init.d/net.lo.in @@ -108,7 +108,7 @@ _wait_for_carrier() _has_carrier && return 0 eval timeout=\$carrier_timeout_${IFVAR} - timeout=${timeout:-${carrier_timeout:-5}} + timeout=${timeout:-${carrier_timeout:-0}} # Incase users don't want this nice feature ... [ ${timeout} -le 0 ] && return 0 -- cgit v1.2.3