From 6fdbf6edefb4371179783c2539d2f30c682bd155 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Wed, 10 Feb 2010 23:37:30 +0100 Subject: Add "consolefont" hook to set the console font early MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch provided by Davorin Učakar, currently only unicode fonts are supported --- hooks/consolefont | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 hooks/consolefont (limited to 'hooks') 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 +} -- cgit v1.2.3-24-g4f1b