13 |
source /etc/conf.d/rc |
source /etc/conf.d/rc |
14 |
source ${rc_functions} |
source ${rc_functions} |
15 |
|
|
16 |
[ -f /etc/rc.config ] && source /etc/rc.config |
[ -f /etc/conf.d/consolefont ] && source /etc/conf.d/consolefont |
17 |
|
|
18 |
# some defaults |
# some defaults |
19 |
[ -z "${CONSOLEFONT}" ] && CONSOLEFONT="default8x16" |
[ -z "${CONSOLEFONT}" ] && CONSOLEFONT="default8x16" |
20 |
|
|
21 |
if [ -x /bin/setfont ] |
if [ -x /bin/setfont ] |
22 |
then |
then |
23 |
echo -e ${COLOREDSTAR}"Setting console font to ${CONSOLEFONT} ..." |
rc_print "Setting console font to ${CONSOLEFONT} ..." |
24 |
for i in 0 1 2 3 4 5 6 |
for i in 0 1 2 3 4 5 6 |
25 |
do |
do |
26 |
/bin/setfont ${CONSOLEFONT} -C /dev/tty${i} |
/bin/setfont ${CONSOLEFONT} -C /dev/tty${i} |