summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-10-22 09:23:04 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-10-22 09:23:04 -0500
commit8d17c634db816db53ffc1fd67f7a971c5e74564d (patch)
treeab9a59a89c4d34b8c59910d8429ffb0b0bbeea4a /init.d
parent06658d1038407a26a2bde381b748e14241b660eb (diff)
downloadopenrc-8d17c634db816db53ffc1fd67f7a971c5e74564d.tar.gz
openrc-8d17c634db816db53ffc1fd67f7a971c5e74564d.tar.bz2
openrc-8d17c634db816db53ffc1fd67f7a971c5e74564d.tar.xz
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: <rose@rz.uni-potsdam.de> X-Gentoo-Bug: 438970 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=438970
Diffstat (limited to 'init.d')
-rw-r--r--init.d/net.lo.in2
1 files changed, 1 insertions, 1 deletions
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