summaryrefslogtreecommitdiffstats
path: root/hooks/consolefont
blob: 07cbd7155ee4221c1af514e3816f9b9dd6218dbe (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..."
        setfont -C /dev/console /consolefont.psfu
        msg "done."
     elif [ -e /consolefont.psf ]; then
        msg -n ":: Loading console font..."
        setfont -C /dev/console /consolefont.psf
        msg "done."
    else
        msg "No consolefont found despite added hook."
    fi
}