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 D8AE3138010 for ; Mon, 22 Oct 2012 14:43:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C91921C01A; Mon, 22 Oct 2012 14:43:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 011B221C01A for ; Mon, 22 Oct 2012 14:43:34 +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 386FA33D828 for ; Mon, 22 Oct 2012 14:43:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id CB270E5436 for ; Mon, 22 Oct 2012 14:43:31 +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: <1350915784.8d17c634db816db53ffc1fd67f7a971c5e74564d.WilliamH@OpenRC> Subject: [gentoo-commits] proj/openrc:master 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: 8d17c634db816db53ffc1fd67f7a971c5e74564d X-VCS-Branch: master Date: Mon, 22 Oct 2012 14:43:31 +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: 5b01a4b6-22f0-485d-b9c6-968486a9f5a4 X-Archives-Hash: d5e7f13b096038ad6da3073c5e995c67 commit: 8d17c634db816db53ffc1fd67f7a971c5e74564d Author: William Hubbs gmail com> AuthorDate: Mon Oct 22 14:23:04 2012 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Oct 22 14:23:04 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=8d17c634 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