Magellan Linux

Contents of /trunk/initscripts/sysvinit/rc/consolefont

Parent Directory Parent Directory | Revision Log Revision Log


Revision 73 - (show annotations) (download)
Tue Mar 15 19:26:43 2005 UTC (19 years, 2 months ago) by niro
Original Path: trunk/magellan-initscripts/etc/rc.d/init.d/consolefont
File size: 638 byte(s)
fixed missing tty's and added some plausibilities

1 #!/bin/bash
2 # $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
5 #%start: 75
6 #%stop:
7
8 #deps
9 #%needs:
10 #%before:
11 #%after:
12
13 source /etc/sysconfig/rc
14 source $rc_functions
15
16 [ -f /etc/rc.config ] && source /etc/rc.config
17
18 # some defaults
19 [ -z "${CONSOLEFONT}" ] && CONSOLEFONT="default8x16"
20
21 if [ -x /bin/setfont ]
22 then
23 echo -e ${COLOREDSTAR}"Setting console font to ${CONSOLEFONT} ..."
24 for i in 0 1 2 3 4 5 6
25 do
26 /bin/setfont ${CONSOLEFONT} -C /dev/tty${i}
27 done
28 evaluate_retval
29 fi
30
31 update_svcstatus $1
32 splash svc_started "$(basename $0)" 0

Properties

Name Value
svn:executable *