aboutsummaryrefslogtreecommitdiff
path: root/rc.conf
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-11-15 02:51:52 +0000
committerJudd Vinet <judd@archlinux.org>2005-11-15 02:51:52 +0000
commit2dc0038155b978eb70be482313cc8535dadc436d (patch)
tree211ff698f3b20d73013d70d3f2aad9a87556bf67 /rc.conf
parentabdeaf8051aaadb9f5270a14e45481a8d61e0b95 (diff)
downloadinitscripts-2dc0038155b978eb70be482313cc8535dadc436d.tar.xz
added variables for autoloading modules, cleaned up rc.conf a bit
Diffstat (limited to 'rc.conf')
-rw-r--r--rc.conf38
1 files changed, 26 insertions, 12 deletions
diff --git a/rc.conf b/rc.conf
index 8b00ca2..049cd4f 100644
--- a/rc.conf
+++ b/rc.conf
@@ -3,7 +3,9 @@
#
#
-# Localization
+# -----------------------------------------------------------------------
+# LOCALIZATION
+# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
@@ -21,20 +23,29 @@ CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
+#
+# -----------------------------------------------------------------------
+# HARDWARE
+# -----------------------------------------------------------------------
+#
+# Scan hardware and load required modules at bootup
+MOD_AUTOLOAD="yes"
+# Module Blacklist - modules in this list will never be loaded by hwdetect
+MOD_BLACKLIST=()
+#
+# Modules to load at boot-up (in this order)
+# - prefix a module with a ! to disable it
+#
+MODULES=(!usbserial)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
#
-# Networking
+# -----------------------------------------------------------------------
+# NETWORKING
+# -----------------------------------------------------------------------
#
HOSTNAME="myhost"
-
-#
-# Module to load at boot-up (in this order)
-# (prefix a module with a ! to disable it)
-#
-MODULES=(!usbserial !ide-scsi)
-
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
@@ -45,7 +56,6 @@ MODULES=(!usbserial !ide-scsi)
lo="lo 127.0.0.1"
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(lo eth0)
-
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
@@ -53,7 +63,6 @@ INTERFACES=(lo eth0)
#
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)
@@ -65,10 +74,15 @@ ROUTES=(!gateway)
#NET_PROFILES=(main)
#
+# -----------------------------------------------------------------------
+# DAEMONS
+# -----------------------------------------------------------------------
+#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
-DAEMONS=(syslog-ng hotplug !pcmcia network netfs crond)
+DAEMONS=(syslog-ng !hotplug !pcmcia network netfs crond)
+
# End of file