summaryrefslogtreecommitdiffstats
path: root/hooks/consolefont
blob: 8e53eece9c9cd9b692bdcc2cf7e02424761e67fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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."
     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
}