From 43fe779f802207d3b59ba5e17c5ef4a585c11748 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Mon, 26 Dec 2011 14:58:19 +0100 Subject: 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 --- rc.conf.5.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'rc.conf.5.txt') 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. -- cgit v1.2.3