Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


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

1 niro 69 #!/bin/bash
2 niro 70 # $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 $
3 niro 69
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     echo -e ${COLOREDSTAR}"Setting console font to ${CONSOLEFONT} ..."
22     for i in 1 2 3 4 5
23     do
24     /bin/setfont ${CONSOLEFONT} -C /dev/tty${i}
25     done
26     evaluate_retval
27    
28     update_svcstatus $1
29     splash svc_started "$(basename $0)" 0

Properties

Name Value
svn:executable *