diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-05-08 14:05:19 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-05-08 14:05:19 +0200 |
commit | 7319269ca791938310dded6ff8a806f2426b94e7 (patch) | |
tree | 2c5384de66eb1ed227b90863769c635ccf2d4dae /hooks/consolefont | |
parent | 83ef38409182a9c024809553dff8c872902d0889 (diff) | |
download | mkinitcpio-7319269ca791938310dded6ff8a806f2426b94e7.tar.gz mkinitcpio-7319269ca791938310dded6ff8a806f2426b94e7.tar.xz |
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
Diffstat (limited to 'hooks/consolefont')
-rw-r--r-- | hooks/consolefont | 6 |
1 files changed, 6 insertions, 0 deletions
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 } |