aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'init.d')
-rw-r--r--init.d/consolefont.in8
1 files changed, 2 insertions, 6 deletions
diff --git a/init.d/consolefont.in b/init.d/consolefont.in
index 66b780d1..0e91d130 100644
--- a/init.d/consolefont.in
+++ b/init.d/consolefont.in
@@ -53,14 +53,10 @@ start()
done
eend $retval
- # Store the last font so we can use it ASAP on boot
+ # Store the font so we can use it ASAP on boot
if [ $retval -eq 0 ] && checkpath -W "$RC_LIBEXECDIR"; then
mkdir -p "$RC_LIBEXECDIR"/console
- for font in /usr/share/consolefonts/"$consolefont".*; do
- :
- done
- cp "$font" "$RC_LIBEXECDIR"/console
- echo "${font##*/}" >"$RC_LIBEXECDIR"/console/font
+ setfont -O "$RC_LIBEXECDIR"/console/font
fi
return $retval