1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/consolefont,v 1.2 2005-03-15 19:07:32 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/consolefont,v 1.3 2005-03-15 19:26:43 niro Exp $ |
3 |
|
|
4 |
#%rlevels: 7:s |
#%rlevels: 7:s |
5 |
#%start: 75 |
#%start: 75 |
18 |
# some defaults |
# some defaults |
19 |
[ -z "${CONSOLEFONT}" ] && CONSOLEFONT="default8x16" |
[ -z "${CONSOLEFONT}" ] && CONSOLEFONT="default8x16" |
20 |
|
|
21 |
echo -e ${COLOREDSTAR}"Setting console font to ${CONSOLEFONT} ..." |
if [ -x /bin/setfont ] |
22 |
for i in 1 2 3 4 5 |
then |
23 |
do |
echo -e ${COLOREDSTAR}"Setting console font to ${CONSOLEFONT} ..." |
24 |
/bin/setfont ${CONSOLEFONT} -C /dev/tty${i} |
for i in 0 1 2 3 4 5 6 |
25 |
done |
do |
26 |
evaluate_retval |
/bin/setfont ${CONSOLEFONT} -C /dev/tty${i} |
27 |
|
done |
28 |
|
evaluate_retval |
29 |
|
fi |
30 |
|
|
31 |
update_svcstatus $1 |
update_svcstatus $1 |
32 |
splash svc_started "$(basename $0)" 0 |
splash svc_started "$(basename $0)" 0 |