aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-07-19 22:57:54 (GMT)
committerTom Gundersen <teg@jklm.no>2012-07-19 22:57:54 (GMT)
commit70810a6eb90a2145246abbca4195aaf2d4741dcc (patch)
tree45c14a84a14fc9b2d68617a8a5bb2cd3d1927e49
parent8c66baed0a803fe9983525847e03bf10aa66ac5f (diff)
downloadinitscripts-70810a6eb90a2145246abbca4195aaf2d4741dcc.tar.xz
rc.conf: reinstate some settings2012.07.3
Keep, but comment out some settings that should be set in rc.conf, if needed. Other settings should really not be used at all. Also shuffel around the manpage a bit. Signed-off-by: Tom Gundersen <teg@jklm.no>
-rw-r--r--rc.conf13
-rw-r--r--rc.conf.5.txt183
2 files changed, 105 insertions, 91 deletions
diff --git a/rc.conf b/rc.conf
index aea4848..4280c05 100644
--- a/rc.conf
+++ b/rc.conf
@@ -5,3 +5,16 @@
#
DAEMONS=(syslog-ng network crond)
+
+# Storage
+#
+# USEDMRAID="no"
+# USEBTRFS="no"
+# USELVM="no"
+
+# Network
+#
+# interface=
+# address=
+# netmask=
+# gateway=
diff --git a/rc.conf.5.txt b/rc.conf.5.txt
index 601d9e3..ad5af7d 100644
--- a/rc.conf.5.txt
+++ b/rc.conf.5.txt
@@ -37,6 +37,98 @@ If you use a network filesystem, you should enable 'netfs'.
DAEMONS=('syslog-ng' 'network' 'crond')
+STORAGE[[S]]
+------------
+*USEDMRAID=*
+
+Scan for FakeRAID (dmraid) volumes at start-up.
+
+Default: 'no'
+
+ USEDMRAID="yes"
+
+*USEBTRFS=*
+
+Scan for Btrfs volumes at start-up.
+
+Default: 'no'
+
+ USEBTRFS="yes"
+
+*USELVM=*
+
+Scan for LVM volume groups at start-up. This is required if you use LVM.
+
+Default: 'no'
+
+ USELVM="yes"
+
+NETWORKING[[N]]
+---------------
+
+*HOSTNAME=*
+
+Hostname of machine. Unless nss-myhostname is used, this should also be set in /etc/hosts.
+
+The contents of /etc/hostname (if not empty) takes precedence (see hostname(5)), and is recommended.
+
+ HOSTNAME="arch1"
+
+The following settings are used by the 'network' daemon.
+
+*interface=*
+
+Name of device. Use `ip addr` or `ls /sys/class/net/` to see all available interfaces.
+
+Required for manual configuration. If using DHCP, it can be left unset, see dhcpcd(5) for details.
+
+*address=*
+
+IP address.
+
+Required for manual configuration. If left empty, DHCP will be used.
+
+*netmask=*
+
+Subnet mask.
+
+Defaults to 255.255.255.0. Ignored when using DHCP.
+
+*broadcast=*
+
+Broadcast address.
+
+Optional for manual configuration, ignored for DHCP.
+
+*gateway=*
+
+Default route.
+
+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=
+ address=
+ netmask=
+ gateway=
+
+*NETWORK_PERSIST=*
+
+Setting this to "yes" will skip network shutdown. This is required if your root device is on NFS.
+
+Default: 'no'
+
+ NETWORK_PERSIST="yes"
+
LOCALIZATION[[L]]
-----------------
*TIMEZONE=*
@@ -137,97 +229,6 @@ Configuration files in /etc/modules-load.d/ are recommended instead (see modules
MODULES=('kvm')
-*USEDMRAID=*
-
-Scan for FakeRAID (dmraid) volumes at start-up.
-
-Default: 'no'
-
- USEDMRAID="yes"
-
-*USEBTRFS=*
-
-Scan for Btrfs volumes at start-up.
-
-Default: 'no'
-
- USEBTRFS="yes"
-
-*USELVM=*
-
-Scan for LVM volume groups at start-up. This is required if you use LVM.
-
-Default: 'no'
-
- USELVM="yes"
-
-NETWORKING[[N]]
----------------
-*HOSTNAME=*
-
-Hostname of machine. Unless nss-myhostname is used, this should also be set in /etc/hosts.
-
-The contents of /etc/hostname (if not empty) takes precedence (see hostname(5)), and is recommended.
-
- HOSTNAME="arch1"
-
-The following settings help you setting up a wired network.
-
-*interface=*
-
-Name of device. Use `ip addr` or `ls /sys/class/net/` to see all available interfaces.
-
-Required for manual configuration. If using DHCP, it can be left unset, see dhcpcd(5) for details.
-
-*address=*
-
-IP address.
-
-Required for manual configuration. If left empty, DHCP will be used.
-
-*netmask=*
-
-Subnet mask.
-
-Defaults to 255.255.255.0. Ignored when using DHCP.
-
-*broadcast=*
-
-Broadcast address.
-
-Optional for manual configuration, ignored for DHCP.
-
-*gateway=*
-
-Default route.
-
-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=
- address=
- netmask=
- gateway=
-
-The following options might be needed for advanced use cases.
-
-*NETWORK_PERSIST=*
-
-Setting this to "yes" will skip network shutdown. This is required if your root device is on NFS.
-
-Default: 'no'
-
- NETWORK_PERSIST="yes"
-
SEE ALSO
--------