1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/consolefont,v 1.4 2005-07-03 21:29:52 niro Exp $ |
# $Id$ |
3 |
|
|
4 |
#%rlevels: 7:s |
#%rlevels: 7:s |
5 |
#%start: 75 |
#%start: 75 |
10 |
#%before: |
#%before: |
11 |
#%after: |
#%after: |
12 |
|
|
13 |
source /etc/sysconfig/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/rc.config ] && source /etc/rc.config |
17 |
|
|
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} |