From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 62A35138010 for ; Mon, 22 Oct 2012 21:35:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98117E0603; Mon, 22 Oct 2012 21:35:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 28F88E0603 for ; Mon, 22 Oct 2012 21:35:18 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8DFEA33D83E for ; Mon, 22 Oct 2012 21:35:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 3A0BCE5436 for ; Mon, 22 Oct 2012 21:35:16 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1350941434.e27f0acc6039e828d1142e7743d5b463aa05f403.WilliamH@OpenRC> Subject: [gentoo-commits] proj/openrc:openrc-0.11.x commit in: init.d/ X-VCS-Repository: proj/openrc X-VCS-Files: init.d/net.lo.in X-VCS-Directories: init.d/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: e27f0acc6039e828d1142e7743d5b463aa05f403 X-VCS-Branch: openrc-0.11.x Date: Mon, 22 Oct 2012 21:35:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ad9c6b49-919c-441c-8ba5-2b2b7f5e8ea8 X-Archives-Hash: 78630ef6ef2691e925d4582aa4d1e2c5 commit: e27f0acc6039e828d1142e7743d5b463aa05f403 Author: William Hubbs gmail com> AuthorDate: Mon Oct 22 14:23:04 2012 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Oct 22 21:30:34 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=e27f0acc 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: rz.uni-potsdam.de> X-Gentoo-Bug: 438970 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=438970 --- 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