[arch-projects] [netctl] [patch] Cautiously document DHCPOptions variable
docs/netctl.profile.5.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/netctl.profile.5.txt b/docs/netctl.profile.5.txt index 176e876..8a5c9c6 100644 --- a/docs/netctl.profile.5.txt +++ b/docs/netctl.profile.5.txt @@ -131,6 +131,15 @@ network. In particular, these connection types are +ethernet+, The name of the preferred DHCP client. Supported options are `dhcpcd' and `dhclient'. Defaults to `dhcpcd'. +'DHCPOptions=' [quoted string]:: + Additional options to be passed directly to the DHCP client. + Example: DHCPOptions="-d -A". This variable is not checked for + validity or sanity of included options, so certain combinations, + like "-b -k" for dhcpcd, may have unpredictable consequences. + This variable should be used only when absolutely necessary, + ideally never at all. In order to configure a timeout to wait + for a lease, see 'TimeoutDHCP' below. Defaults to an empty string. + 'IPCustom=()':: An array of argument lines to pass to `ip`. This can be used to achieve complicated configurations within the framework of *netctl*. -- Leonid Isaev GnuPG key: 0x164B5A6D Fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
On Mon, Mar 11, 2013 at 12:07 AM, Leonid Isaev <lisaev@umail.iu.edu> wrote:
docs/netctl.profile.5.txt | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/docs/netctl.profile.5.txt b/docs/netctl.profile.5.txt index 176e876..8a5c9c6 100644 --- a/docs/netctl.profile.5.txt +++ b/docs/netctl.profile.5.txt @@ -131,6 +131,15 @@ network. In particular, these connection types are +ethernet+, The name of the preferred DHCP client. Supported options are `dhcpcd' and `dhclient'. Defaults to `dhcpcd'.
+'DHCPOptions=' [quoted string]:: + Additional options to be passed directly to the DHCP client. + Example: DHCPOptions="-d -A". This variable is not checked for + validity or sanity of included options, so certain combinations, + like "-b -k" for dhcpcd, may have unpredictable consequences. + This variable should be used only when absolutely necessary, + ideally never at all. In order to configure a timeout to wait + for a lease, see 'TimeoutDHCP' below. Defaults to an empty string. +
Thats a lot of lines for something that shouldn't be used. I've put up something shorter, thanks anyway :-).
'IPCustom=()':: An array of argument lines to pass to `ip`. This can be used to achieve complicated configurations within the framework of *netctl*.
-- Leonid Isaev GnuPG key: 0x164B5A6D Fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
participants (2)
-
Jouke Witteveen
-
Leonid Isaev