summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory A. Pratt <anarchy@gentoo.org>2010-09-30 07:33:52 -0500
committerJory A. Pratt <anarchy@gentoo.org>2010-09-30 07:33:52 -0500
commitbe6c0716eec2e66d59ed9b5bce6219184f85351c (patch)
tree135239fc9baf8862b9149fca028b0da775598588
parent4ea75dd1d6c1e475f103f027fd05861d237add4d (diff)
downloadopenrc-be6c0716eec2e66d59ed9b5bce6219184f85351c.tar.gz
openrc-be6c0716eec2e66d59ed9b5bce6219184f85351c.tar.bz2
openrc-be6c0716eec2e66d59ed9b5bce6219184f85351c.tar.xz
surpress output of loadkeys, fix setfont path check
-rw-r--r--sh/init-early.sh.Linux.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/init-early.sh.Linux.in b/sh/init-early.sh.Linux.in
index e13af13..a1f5f8a 100644
--- a/sh/init-early.sh.Linux.in
+++ b/sh/init-early.sh.Linux.in
@@ -17,7 +17,7 @@ fi
if [ -e /etc/runlevels/"$RC_DEFAULTLEVEL"/consolefont \
-o -e /etc/runlevels/"$RC_BOOTLEVEL"/consolefont ]; then
printf "\033%s" "$termencoding" >"$CONSOLE" 2>/dev/null
- if [ -r "$RC_LIBEXECDIR"/console/font -a -x /bin/setfont ]; then
+ if [ -r "$RC_LIBEXECDIR"/console/font -a -x /usr/bin/setfont ]; then
font="$(cat "$RC_LIBEXECDIR"/console/font)"
[ -c "$CONSOLE" ] && cons="-C $CONSOLE"
setfont $cons "$RC_LIBEXECDIR"/console/"$font" 2>/dev/null
@@ -29,7 +29,7 @@ if [ -e /etc/runlevels/"$RC_DEFAULTLEVEL"/keymaps \
-o -e /etc/runlevels/"$RC_BOOTLEVEL"/keymaps ]; then
kbd_mode $kmode -C "$CONSOLE" 2>/dev/null
if [ -r "$RC_LIBEXECDIR"/console/keymap ]; then
- loadkeys "$RC_LIBEXECDIR"/console/keymap 2>/dev/null
+ loadkeys -q "$RC_LIBEXECDIR"/console/keymap 2>/dev/null
fi
fi