From 7319269ca791938310dded6ff8a806f2426b94e7 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sat, 8 May 2010 14:05:19 +0200 Subject: Allow usage of non-utf8 fonts in the consolefont hook, see FS#19109 Patch was provided by Mark (voidzero) in https://bugs.archlinux.org/task/19109 This requires busybox commit http://git.busybox.net/busybox/commit/?id=8ce1dc03c1b2b61e51527b987579c09c991cc4b2 which is in the 1.7 branch, a backport will be included in an updated mkinitcpio-busybox package --- hooks/consolefont | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hooks') diff --git a/hooks/consolefont b/hooks/consolefont index f35869e..8e53eec 100644 --- a/hooks/consolefont +++ b/hooks/consolefont @@ -6,5 +6,11 @@ run_hook () msg -n ":: Loading console font..." /usr/sbin/setfont -C /dev/console /consolefont.psfu msg "done." + elif [ -e /consolefont.psf ]; then + msg -n ":: Loading console font..." + /usr/sbin/setfont -C /dev/console /consolefont.psf + msg "done." + else + msg "No consolefont found despite added hook." fi } -- cgit v1.2.3-24-g4f1b