summaryrefslogtreecommitdiffstats
path: root/install/consolefont
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-11-15 01:55:00 +0100
committerDave Reisner <dreisner@archlinux.org>2012-11-24 00:01:34 +0100
commitac8499c08279b05dc582cc65d9e73deda5d38572 (patch)
treedd1bedc1dea06cdeec7c31e8e5018ba1499e6e65 /install/consolefont
parenta3889c6914f7fac5a5b7a438be4233bcf66db44c (diff)
downloadmkinitcpio-ac8499c08279b05dc582cc65d9e73deda5d38572.tar.gz
mkinitcpio-ac8499c08279b05dc582cc65d9e73deda5d38572.tar.xz
drop support for reading /etc/rc.conf
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'install/consolefont')
-rw-r--r--install/consolefont9
1 files changed, 2 insertions, 7 deletions
diff --git a/install/consolefont b/install/consolefont
index 0bb1af6..bbcd7ec 100644
--- a/install/consolefont
+++ b/install/consolefont
@@ -3,11 +3,7 @@
build() {
# subshell to avoid namespace pollution
(
- for cfg in /etc/{rc,vconsole}.conf; do
- [[ -s $cfg ]] && . "$cfg"
- done
-
- [[ $FONT ]] && CONSOLEFONT=$FONT
+ [[ -s /etc/vconsole.conf ]] && . /etc/vconsole.conf
if [[ $CONSOLEFONT ]]; then
for file in "/usr/share/kbd/consolefonts/$CONSOLEFONT".@(fnt|psf?(u))?(.gz); do
@@ -32,8 +28,7 @@ build() {
help() {
cat <<HELPEOF
-This hook loads consolefont specified in locale.conf or rc.conf during early
-userspace.
+This hook loads consolefont specified in locale.conf during early userspace.
HELPEOF
}