summaryrefslogtreecommitdiffstats
path: root/install/consolefont
diff options
context:
space:
mode:
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
}