summaryrefslogtreecommitdiff
path: root/default-config/etc/rc.conf
diff options
context:
space:
mode:
Diffstat (limited to 'default-config/etc/rc.conf')
-rw-r--r--default-config/etc/rc.conf16
1 files changed, 11 insertions, 5 deletions
diff --git a/default-config/etc/rc.conf b/default-config/etc/rc.conf
index 1b8b9c9..ed069e4 100644
--- a/default-config/etc/rc.conf
+++ b/default-config/etc/rc.conf
@@ -1,12 +1,18 @@
#
# /etc/rc.conf - Main Configuration for Arch Linux
-LOCALE="##LOCALE##"
+. /etc/archiso/functions
+
+LOCALE_DEFAULT="en_US.UTF-8"
+TIMEZONE_DEFAULT="America/Chicago"
+KEYMAP_DEFAULT="us"
+
+LOCALE="$(cmdline_param locale ${LOCALE_DEFAULT})"
HARDWARECLOCK="UTC"
-TIMEZONE="##TIMEZONE##"
-KEYMAP="##KEYMAP##"
-CONSOLEFONT=""
-CONSOLEMAP=""
+TIMEZONE="$(cmdline_param timezone ${TIMEZONE_DEFAULT})"
+KEYMAP="$(cmdline_param keymap ${KEYMAP_DEFAULT})"
+CONSOLEFONT="$(cmdline_param consolefont)"
+CONSOLEMAP="$(cmdline_param consolefont)"
USECOLOR="yes"
MOD_AUTOLOAD="yes"