Initscripts/rc.conf

From ArchWiki
Revision as of 12:25, 14 March 2006 by Nut543 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I don't think rc.conf is "explaining" enough(sorry can't think of a better word atm). For example, which program uses the LOCALE,HARDWARECLOCK,TIMEZONE,KEYMAP,CONSOLEFONT,CONSOLEMAP,etc etc vars in here and what do they do?

It would be nice if someone could explain this better so one wouldn't need to deal with the abstraction :)

  1. /etc/rc.conf - Main Configuration for Arch Linux
  1. -----------------------------------------------------------------------
  2. LOCALIZATION
  3. -----------------------------------------------------------------------
  4. LOCALE: available languages can be listed with the 'locale -a' command
  5. HARDWARECLOCK: set to "UTC" or "localtime"
  6. TIMEZONE: timezones are found in /usr/share/zoneinfo
  7. KEYMAP: keymaps are found in /usr/share/kbd/keymaps
  8. CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
  9. CONSOLEMAP: found in /usr/share/kbd/unimaps
  10. USECOLOR: use ANSI color sequences in startup messages

LOCALE= HARDWARECLOCK="localtime" TIMEZONE=Canada/Pacific KEYMAP=us CONSOLEFONT= CONSOLEMAP= USECOLOR="yes"

  1. -----------------------------------------------------------------------
  2. HARDWARE
  3. -----------------------------------------------------------------------
  4. Scan hardware and load required modules at bootup

MOD_AUTOLOAD="yes"

  1. Module Blacklist - modules in this list will never be loaded by hwdetect

MOD_BLACKLIST=()

  1. Modules to load at boot-up (in this order)
  2. - prefix a module with a ! to blacklist it

MODULES=(!usbserial)

  1. Scan for LVM volume groups at startup, required if you use LVM

USELVM="no"

  1. -----------------------------------------------------------------------
  2. NETWORKING
  3. -----------------------------------------------------------------------

HOSTNAME="myhost"

  1. Interfaces to start at boot-up (in this order)
  2. Declare each interface then list in INTERFACES
  3. - prefix an entry in INTERFACES with a ! to disable it
  4. Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")

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)

  1. Routes to start at boot-up (in this order)
  2. Declare each route then list in ROUTES
  3. - prefix an entry in ROUTES with a ! to disable it

gateway="default gw 192.168.0.1" ROUTES=(!gateway)

  1. Enable these network profiles at boot-up. These are only useful
  2. if you happen to need multiple network configurations (ie, laptop users)
  3. - set to 'menu' to present a menu during boot-up
  4. - prefix an entry with a ! to disable it
  5. Network profiles are found in /etc/network-profiles
  6. NET_PROFILES=(main)
  7. -----------------------------------------------------------------------
  8. DAEMONS
  9. -----------------------------------------------------------------------
  10. Daemons to start at boot-up (in this order)
  11. - prefix a daemon with a ! to disable it
  12. - prefix a daemon with a @ to start it up in the background

DAEMONS=(syslog-ng !hotplug !pcmcia network netfs crond)


  1. End of file