summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIonut Biru <ionut@archlinux.ro>2010-02-12 19:42:34 +0100
committerThomas Bächler <thomas@archlinux.org>2010-02-14 11:22:16 +0100
commit94130e25b50c7385b5befeb03a94668de1cf3601 (patch)
tree4727bb95aeeb193e3b0e26c90fe6169c311cc524
parent8188620d474dc29c93b32902bd9ffa753998c33f (diff)
downloadmkinitcpio-94130e25b50c7385b5befeb03a94668de1cf3601.tar.gz
mkinitcpio-94130e25b50c7385b5befeb03a94668de1cf3601.tar.xz
fix detection of CONSOLEFONT from rc.conf
Signed-off-by: Ionut Biru <ionut@archlinux.ro>
-rw-r--r--install/consolefont7
1 files changed, 2 insertions, 5 deletions
diff --git a/install/consolefont b/install/consolefont
index 67777b8..789a661 100644
--- a/install/consolefont
+++ b/install/consolefont
@@ -6,6 +6,7 @@ install ()
BINARIES=""
FILES=""
SCRIPT="consolefont"
+ eval "$(grep -e "^CONSOLEFONT=" /etc/rc.conf)"
if [ -n "$CONSOLEFONT" ]; then
CONSOLEFONT_FILE_GZ="/usr/share/kbd/consolefonts/$CONSOLEFONT.psfu.gz"
if [ -e ${CONSOLEFONT_FILE_GZ} ]; then
@@ -22,10 +23,6 @@ install ()
help ()
{
cat<<HELPEOF
- This hook loads consolefont specified in mkinitcpio.conf
- during early userspace.
- You should add CONSOLEFONT="font" (same syntax as in rc.conf) to your
- mkinitcpio.conf. You may also remove the CONSOLEFONT from rc.conf
- to prevent the font from being set twice and speed up your boot proccess.
+ This hook loads consolefont specified in rc.conf during early userspace.
HELPEOF
}