diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-02-10 23:37:30 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-02-10 23:37:30 +0100 |
commit | 6fdbf6edefb4371179783c2539d2f30c682bd155 (patch) | |
tree | 026e5b007ef5085950f2e0c029bf8338b4b24167 /hooks/consolefont | |
parent | 6342c254a951db2c511730d54b209643e6bff6ff (diff) | |
download | mkinitcpio-6fdbf6edefb4371179783c2539d2f30c682bd155.tar.gz mkinitcpio-6fdbf6edefb4371179783c2539d2f30c682bd155.tar.xz |
Add "consolefont" hook to set the console font early
Patch provided by Davorin Učakar, currently only unicode fonts are supported
Diffstat (limited to 'hooks/consolefont')
-rw-r--r-- | hooks/consolefont | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hooks/consolefont b/hooks/consolefont new file mode 100644 index 0000000..8183844 --- /dev/null +++ b/hooks/consolefont @@ -0,0 +1,10 @@ +# vim: set ft=sh: + +run_hook () +{ + if [ -e /consolefont.psfu ]; then + msg -n ":: Loading console font..." + /usr/sbin/setfont -C /dev/console /consolefont.psfu + msg "done." + fi +} |