diff options
author | Tom Gundersen <teg@jklm.no> | 2011-12-26 14:58:19 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-12-26 14:58:19 +0100 |
commit | 43fe779f802207d3b59ba5e17c5ef4a585c11748 (patch) | |
tree | 60d1468d3b078a70f17f3e5da3f72f374bfc9b40 /rc.conf.5.txt | |
parent | 8287372cd60ac4167ba00610f1ad604808a1d9d0 (diff) |
rc.conf: move most of the comments from the standard file to the manpage
Having the documentation in the config file means users have to merge the config
file every time we update the documentation. Also, repeating the documentation in
two places means it will eventually go out of sync.
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.conf.5.txt')
-rw-r--r-- | rc.conf.5.txt | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/rc.conf.5.txt b/rc.conf.5.txt index 56a163f..05cf74f 100644 --- a/rc.conf.5.txt +++ b/rc.conf.5.txt @@ -132,6 +132,20 @@ The following settings help you setting up a wired network. Default: empty Required for manual configuration, ignored for DHCP. +*Static IP example*:: + interface=eth0 + address=192.168.0.2 + netmask=255.255.255.0 + broadcast=192.168.0.255 + gateway=192.168.0.1 + +*DHCP example*:: + interface=eth0 + address= + netmask= + gateway= + +The following options might be needed for advanced use-cases. *NETWORK_PERSIST*:: Setting this to "yes" will skip network shutdown. @@ -165,4 +179,4 @@ Daemons[[D]] Authors ------- - Written by Dieter Plaetinck and others. + Written by Tom Gundersen, Dieter Plaetinck and others. |