Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: doc/
Date: Wed, 28 Dec 2011 16:41:43
Message-Id: 26ceddae5e48bac07c82d754bd005df01492fa4f.WilliamH@gentoo
1 commit: 26ceddae5e48bac07c82d754bd005df01492fa4f
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 28 16:41:07 2011 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 28 16:41:07 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=26ceddae
7
8 net: clean up documentation for up_before_preup
9
10 ---
11 doc/net.example.Linux.in | 19 ++++++++++---------
12 1 files changed, 10 insertions(+), 9 deletions(-)
13
14 diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in
15 index d48983e..fd14134 100644
16 --- a/doc/net.example.Linux.in
17 +++ b/doc/net.example.Linux.in
18 @@ -1103,15 +1103,16 @@
19 # ${IFACE} is set to the interface being brought up/down
20 # ${IFVAR} is ${IFACE} converted to variable name bash allows
21 #
22 -# For historical & compatbility reasons, preup is actually normally called in
23 -# the follow sequence: up ; preup ; up
24 -# In that case, the first up causes the kernel to initialize the device, so
25 -# that it is available for use in the preup function. However, for some other
26 -# hardware, eg CAN devices, some configuration is needed before trying to up
27 -# the interface will actually work. For such harware, there are the
28 -# 'up_before_preup' variables, that skips the first up call.
29 -#up_before_preup_IFVAR=no
30 -#up_before_preup=no
31 +# For historical and compatibility reasons, preup is actually normally called
32 +# in the following sequence: up ; preup ; up.
33 +# The first up causes the kernel to initialize the device, so
34 +# that it is available for use in the preup function. However, for some
35 +# hardware, e.g. CAN devices, some configuration is needed before trying to up
36 +# the interface will actually work. For such hardware, the
37 +# up_before_preup variables will allow skipping the first up call if set
38 +# to yes.
39 +#up_before_preup_IFVAR="NO"
40 +#up_before_preup="NO"
41
42 #preup() {
43 # # Test for link on the interface prior to bringing it up. This