Magellan Linux

Annotation of /trunk/initscripts/sysvinit/rc/consolefont

Parent Directory Parent Directory | Revision Log Revision Log


Revision 69 - (hide annotations) (download)
Tue Mar 15 18:50:20 2005 UTC (19 years, 2 months ago) by niro
Original Path: trunk/magellan-initscripts/etc/rc.d/init.d/consolefont
File size: 463 byte(s)
new file; loads consolefont settings (fixes also tty issue with fbsplash)

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

Properties

Name Value
svn:executable *