rc.conf, rc.local and rc.shutdown
/etc/rc.shutdown can be used to
configure certain parts of your Void system.
rc.conf is often configured by
Sourced in runit stages 1 and 3. This file can be used to set variables, including the following:
Specifies which keymap to use for the Linux console. Available keymaps are
/usr/share/kbd/keymaps. For example:
For further details, refer to loadkeys(1).
Specifies whether the hardware clock is set to UTC or local time.
By default this is set to
utc. However, Windows sets the hardware clock to
local time, so if you are dual-booting with Windows, you need to either
configure Windows to use UTC, or set this variable to
For further details, refer to hwclock(8).
Specifies which font to use for the Linux console. Available fonts are listed in
/usr/share/kbd/consolefonts. For example:
For further details, refer to setfont(8).
Sourced in runit stage 2. A shell script which can be used to specify configuration to be done prior to login.
Sourced in runit stage 3. A shell script which can be used to specify tasks to be done during shutdown.