From 8d17c634db816db53ffc1fd67f7a971c5e74564d Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 22 Oct 2012 09:23:04 -0500 Subject: [PATCH] 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 47bdc2f9..d42b5ae4 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