From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Rfx93-0005dq-8g for garchives@archives.gentoo.org; Wed, 28 Dec 2011 17:18:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B05E021C0B7; Wed, 28 Dec 2011 17:18:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 842E221C0B7 for ; Wed, 28 Dec 2011 17:18:20 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0774D1B401F for ; Wed, 28 Dec 2011 17:18:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 654EE80043 for ; Wed, 28 Dec 2011 17:18:19 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1875db4ff6cdbed45f4375a2cc04f2fe55f25a32.WilliamH@gentoo> Subject: [gentoo-commits] proj/openrc:master commit in: doc/ X-VCS-Repository: proj/openrc X-VCS-Files: doc/net.example.BSD.in X-VCS-Directories: doc/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 1875db4ff6cdbed45f4375a2cc04f2fe55f25a32 Date: Wed, 28 Dec 2011 17:18:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: b68b038f-acaf-4ffb-8fc0-55a87925dcda X-Archives-Hash: b0154b1643704dcfeca4143fa68a6da3 commit: 1875db4ff6cdbed45f4375a2cc04f2fe55f25a32 Author: William Hubbs gentoo org> AuthorDate: Wed Dec 28 17:17:58 2011 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Dec 28 17:17:58 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3D1875db4f net: document up_before_preup for BSD --- doc/net.example.BSD.in | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/doc/net.example.BSD.in b/doc/net.example.BSD.in index 2329fa2..585f73d 100644 --- a/doc/net.example.BSD.in +++ b/doc/net.example.BSD.in @@ -388,6 +388,17 @@ # # ${IFACE} is set to the interface being brought up/down # ${IFVAR} is ${IFACE} converted to variable name bash allows +# +# For historical and compatibility reasons, preup is actually normally c= alled +# in the following sequence: up ; preup ; up. +# The first up causes the kernel to initialize the device, so +# that it is available for use in the preup function. However, for some +# hardware, e.g. CAN devices, some configuration is needed before trying= to up +# the interface will actually work. For such hardware, the +# up_before_preup variables will allow skipping the first up call if set +# to yes. +#up_before_preup_IFVAR=3D"NO" +#up_before_preup=3D"NO" =20 #preup() { # # Remember to return 0 on success