aboutsummaryrefslogtreecommitdiff
path: root/rc.conf
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2007-12-20 10:53:25 -0600
committerAaron Griffin <aaronmgriffin@gmail.com>2007-12-20 10:53:25 -0600
commitb82f9d580d1ab70e78de4c81c180c5a308bd1238 (patch)
tree6d2df1f5178f482f008bd9e1db69d2aafaba158f /rc.conf
parenta4a35bda6ef3fd3e444e90ab362369f0b1f511dc (diff)
downloadinitscripts-b82f9d580d1ab70e78de4c81c180c5a308bd1238.tar.xz
Tidy up rc.conf
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'rc.conf')
-rw-r--r--rc.conf32
1 files changed, 13 insertions, 19 deletions
diff --git a/rc.conf b/rc.conf
index 7456b94..3e8b624 100644
--- a/rc.conf
+++ b/rc.conf
@@ -2,7 +2,6 @@
# /etc/rc.conf - Main Configuration for Arch Linux
#
-#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
@@ -23,30 +22,29 @@ CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
-#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
-# Allow autoloading of modules at boot and when needed
+# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
+# MOD_BLACKLIST: Prevent udev from loading these modules
+# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
+#
MOD_AUTOLOAD="yes"
-# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
-#
-# Modules to load at boot-up (in this order)
-# - prefix a module with a ! to blacklist it
-#
MODULES=()
+
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
-#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
-HOSTNAME="myhost"
+# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
+HOSTNAME="myhost"
+
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
#
@@ -55,20 +53,20 @@ HOSTNAME="myhost"
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
-# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
-#
-# Don't use this for wireless interfaces, see network profiles below
+#
+# DHCP: Set your interface to "dhcp" (eth0="dhcp")
+# Wireless: See network profiles below
#
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(eth0)
-#
+
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
-#
+
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
@@ -80,7 +78,6 @@ ROUTES=(!gateway)
#
#NETWORKS=(main)
-#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
@@ -90,6 +87,3 @@ ROUTES=(!gateway)
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond)
-
-
-# End of file