1 |
jkt 05/12/21 13:27:46 |
2 |
|
3 |
Modified: xml/htdocs/doc/en/handbook hb-net-functions.xml |
4 |
Log: |
5 |
coding style fixes, *no content change* |
6 |
|
7 |
Revision Changes Path |
8 |
1.6 +26 -27 xml/htdocs/doc/en/handbook/hb-net-functions.xml |
9 |
|
10 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-net-functions.xml?rev=1.6&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
11 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-net-functions.xml?rev=1.6&content-type=text/plain&cvsroot=gentoo |
12 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-net-functions.xml.diff?r1=1.5&r2=1.6&cvsroot=gentoo |
13 |
|
14 |
Index: hb-net-functions.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-functions.xml,v |
17 |
retrieving revision 1.5 |
18 |
retrieving revision 1.6 |
19 |
diff -u -r1.5 -r1.6 |
20 |
--- hb-net-functions.xml 14 Jun 2005 18:34:32 -0000 1.5 |
21 |
+++ hb-net-functions.xml 21 Dec 2005 13:27:46 -0000 1.6 |
22 |
@@ -4,7 +4,7 @@ |
23 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
24 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-functions.xml,v 1.5 2005/06/14 18:34:32 neysx Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-functions.xml,v 1.6 2005/12/21 13:27:46 jkt Exp $ --> |
28 |
|
29 |
<sections> |
30 |
|
31 |
@@ -16,28 +16,27 @@ |
32 |
<body> |
33 |
|
34 |
<p> |
35 |
-Four functions can be defined which will be called surrounding the |
36 |
-start/stop operations. The functions are called with the interface |
37 |
-name first so that one function can control multiple adapters. |
38 |
+Four functions can be defined which will be called surrounding the start/stop |
39 |
+operations. The functions are called with the interface name first so that one |
40 |
+function can control multiple adapters. |
41 |
</p> |
42 |
|
43 |
<p> |
44 |
-The return values for the preup and predown functions should be 0 |
45 |
-(success) to indicate that configuration or deconfiguration of the |
46 |
-interface can continue. If preup returns a non-zero value, then |
47 |
-interface configuration will be aborted. If predown returns a |
48 |
-non-zero value, then the interface will not be allowed to continue |
49 |
-deconfiguration. |
50 |
+The return values for the preup and predown functions should be 0 (success) to |
51 |
+indicate that configuration or deconfiguration of the interface can continue. |
52 |
+If preup returns a non-zero value, then interface configuration will be aborted. |
53 |
+If predown returns a non-zero value, then the interface will not be allowed to |
54 |
+continue deconfiguration. |
55 |
</p> |
56 |
|
57 |
<p> |
58 |
-The return values for the postup and postdown functions are ignored |
59 |
-since there's nothing to do if they indicate failure. |
60 |
+The return values for the postup and postdown functions are ignored since |
61 |
+there's nothing to do if they indicate failure. |
62 |
</p> |
63 |
|
64 |
<p> |
65 |
-<c>${IFACE}</c> is set to the interface being brought up/down. |
66 |
-<c>${IFVAR}</c> is <c>${IFACE}</c> converted to variable name bash allows |
67 |
+<c>${IFACE}</c> is set to the interface being brought up/down. <c>${IFVAR}</c> |
68 |
+is <c>${IFACE}</c> converted to variable name bash allows. |
69 |
</p> |
70 |
|
71 |
<pre caption="pre/post up/down function examples"> |
72 |
@@ -98,30 +97,30 @@ |
73 |
|
74 |
<note> |
75 |
This will not work with WPA Supplicant - but the <c>${ESSID}</c> and |
76 |
-<c>${ESSIDVAR}</c> variables are available in the postup() function |
77 |
+<c>${ESSIDVAR}</c> variables are available in the postup() function. |
78 |
</note> |
79 |
|
80 |
<p> |
81 |
-Two functions can be defined which will be called surrounding the |
82 |
-associate function. The functions are called with the interface |
83 |
-name first so that one function can control multiple adapters. |
84 |
+Two functions can be defined which will be called surrounding the associate |
85 |
+function. The functions are called with the interface name first so that one |
86 |
+function can control multiple adapters. |
87 |
</p> |
88 |
|
89 |
<p> |
90 |
-The return values for the preassociate function should be 0 |
91 |
-(success) to indicate that configuration or deconfiguration of the |
92 |
-interface can continue. If preassociate returns a non-zero value, then |
93 |
-interface configuration will be aborted. |
94 |
+The return values for the preassociate function should be 0 (success) to |
95 |
+indicate that configuration or deconfiguration of the interface can continue. |
96 |
+If preassociate returns a non-zero value, then interface configuration will be |
97 |
+aborted. |
98 |
</p> |
99 |
|
100 |
<p> |
101 |
-The return value for the postassociate function is ignored |
102 |
-since there's nothing to do if it indicates failure. |
103 |
+The return value for the postassociate function is ignored since there's nothing |
104 |
+to do if it indicates failure. |
105 |
</p> |
106 |
|
107 |
<p> |
108 |
<c>${ESSID}</c> is set to the exact ESSID of the AP you're connecting to. |
109 |
-<c>${ESSIDVAR}</c> is <c>${ESSID}</c> converted to variable name bash allows |
110 |
+<c>${ESSIDVAR}</c> is <c>${ESSID}</c> converted to variable name bash allows. |
111 |
</p> |
112 |
|
113 |
<pre caption="pre/post association functions"> |
114 |
@@ -158,8 +157,8 @@ |
115 |
</pre> |
116 |
|
117 |
<note> |
118 |
-<c>${ESSID}</c> and <c>${ESSIDVAR}</c> are unavailable in predown() and |
119 |
-postdown() functions |
120 |
+<c>${ESSID}</c> and <c>${ESSIDVAR}</c> are unavailable in predown() and |
121 |
+postdown() functions. |
122 |
</note> |
123 |
|
124 |
</body> |
125 |
|
126 |
|
127 |
|
128 |
-- |
129 |
gentoo-doc-cvs@g.o mailing list |