path: root/rc.conf.5.txt
diff options
authorTom Gundersen <teg@jklm.no>2011-12-26 13:58:19 (GMT)
committerTom Gundersen <teg@jklm.no>2011-12-26 13:58:19 (GMT)
commit43fe779f802207d3b59ba5e17c5ef4a585c11748 (patch)
tree60d1468d3b078a70f17f3e5da3f72f374bfc9b40 /rc.conf.5.txt
parent8287372cd60ac4167ba00610f1ad604808a1d9d0 (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')
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=
+ netmask=
+ broadcast=
+ gateway=
+*DHCP example*::
+ interface=eth0
+ address=
+ netmask=
+ gateway=
+The following options might be needed for advanced use-cases.
Setting this to "yes" will skip network shutdown.
@@ -165,4 +179,4 @@ Daemons[[D]]
- Written by Dieter Plaetinck and others.
+ Written by Tom Gundersen, Dieter Plaetinck and others.