diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2012-10-22 09:23:04 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2012-10-22 16:30:34 -0500 |
commit | e27f0acc6039e828d1142e7743d5b463aa05f403 (patch) | |
tree | 33908723e95f2c24f3f7c7616b2af8b04338f125 | |
parent | 5c8ba80ea7f993d438eae2f905a50d29169bfc10 (diff) | |
download | openrc-e27f0acc6039e828d1142e7743d5b463aa05f403.tar.gz openrc-e27f0acc6039e828d1142e7743d5b463aa05f403.tar.bz2 openrc-e27f0acc6039e828d1142e7743d5b463aa05f403.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
-rw-r--r-- | init.d/net.lo.in | 2 |
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 |