jkt 05/12/21 13:27:46 Modified: xml/htdocs/doc/en/handbook hb-net-functions.xml Log: coding style fixes, *no content change*
Revision Changes Path 1.6 +26 -27 xml/htdocs/doc/en/handbook/hb-net-functions.xml 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 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 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 Index: hb-net-functions.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-functions.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- hb-net-functions.xml 14 Jun 2005 18:34:32 -0000 1.5 +++ hb-net-functions.xml 21 Dec 2005 13:27:46 -0000 1.6 @@ -4,7 +4,7 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-functions.xml,v 1.5 2005/06/14 18:34:32 neysx Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-functions.xml,v 1.6 2005/12/21 13:27:46 jkt Exp $ --> <sections> @@ -16,28 +16,27 @@ <body> <p> -Four functions can be defined which will be called surrounding the -start/stop operations. The functions are called with the interface -name first so that one function can control multiple adapters. +Four functions can be defined which will be called surrounding the start/stop +operations. The functions are called with the interface name first so that one +function can control multiple adapters. </p> <p> -The return values for the preup and predown functions should be 0 -(success) to indicate that configuration or deconfiguration of the -interface can continue. If preup returns a non-zero value, then -interface configuration will be aborted. If predown returns a -non-zero value, then the interface will not be allowed to continue -deconfiguration. +The return values for the preup and predown functions should be 0 (success) to +indicate that configuration or deconfiguration of the interface can continue. +If preup returns a non-zero value, then interface configuration will be aborted. +If predown returns a non-zero value, then the interface will not be allowed to +continue deconfiguration. </p> <p> -The return values for the postup and postdown functions are ignored -since there's nothing to do if they indicate failure. +The return values for the postup and postdown functions are ignored since +there's nothing to do if they indicate failure. </p> <p> -<c>${IFACE}</c> is set to the interface being brought up/down. -<c>${IFVAR}</c> is <c>${IFACE}</c> converted to variable name bash allows +<c>${IFACE}</c> is set to the interface being brought up/down. <c>${IFVAR}</c> +is <c>${IFACE}</c> converted to variable name bash allows. </p> <pre caption="pre/post up/down function examples"> @@ -98,30 +97,30 @@ <note> This will not work with WPA Supplicant - but the <c>${ESSID}</c> and -<c>${ESSIDVAR}</c> variables are available in the postup() function +<c>${ESSIDVAR}</c> variables are available in the postup() function. </note> <p> -Two functions can be defined which will be called surrounding the -associate function. The functions are called with the interface -name first so that one function can control multiple adapters. +Two functions can be defined which will be called surrounding the associate +function. The functions are called with the interface name first so that one +function can control multiple adapters. </p> <p> -The return values for the preassociate function should be 0 -(success) to indicate that configuration or deconfiguration of the -interface can continue. If preassociate returns a non-zero value, then -interface configuration will be aborted. +The return values for the preassociate function should be 0 (success) to +indicate that configuration or deconfiguration of the interface can continue. +If preassociate returns a non-zero value, then interface configuration will be +aborted. </p> <p> -The return value for the postassociate function is ignored -since there's nothing to do if it indicates failure. +The return value for the postassociate function is ignored since there's nothing +to do if it indicates failure. </p> <p> <c>${ESSID}</c> is set to the exact ESSID of the AP you're connecting to. -<c>${ESSIDVAR}</c> is <c>${ESSID}</c> converted to variable name bash allows +<c>${ESSIDVAR}</c> is <c>${ESSID}</c> converted to variable name bash allows. </p> <pre caption="pre/post association functions"> @@ -158,8 +157,8 @@ </pre> <note> -<c>${ESSID}</c> and <c>${ESSIDVAR}</c> are unavailable in predown() and -postdown() functions +<c>${ESSID}</c> and <c>${ESSIDVAR}</c> are unavailable in predown() and +postdown() functions. </note> </body> -- [email protected] mailing list
