Annotation of /tags/init-0_7_1_1/sysvinit/rc/consolefont
Parent Directory | Revision Log
Revision 1454 -
(hide annotations)
(download)
Wed Aug 3 08:52:38 2011 UTC (13 years, 1 month ago) by niro
File size: 516 byte(s)
Wed Aug 3 08:52:38 2011 UTC (13 years, 1 month ago) by niro
File size: 516 byte(s)
tagged 'init-0_7_1_1'
1 | niro | 69 | #!/bin/bash |
2 | niro | 931 | # $Id$ |
3 | niro | 69 | |
4 | #%rlevels: 7:s | ||
5 | #%start: 75 | ||
6 | #%stop: | ||
7 | |||
8 | #deps | ||
9 | #%needs: | ||
10 | #%before: | ||
11 | #%after: | ||
12 | |||
13 | niro | 781 | source /etc/conf.d/rc |
14 | source ${rc_functions} | ||
15 | niro | 69 | |
16 | niro | 1244 | [ -f /etc/conf.d/consolefont ] && source /etc/conf.d/consolefont |
17 | niro | 69 | |
18 | # some defaults | ||
19 | [ -z "${CONSOLEFONT}" ] && CONSOLEFONT="default8x16" | ||
20 | |||
21 | niro | 73 | if [ -x /bin/setfont ] |
22 | then | ||
23 | niro | 1243 | rc_print "Setting console font to ${CONSOLEFONT} ..." |
24 | niro | 73 | 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 | niro | 69 | |
31 | update_svcstatus $1 | ||
32 | splash svc_started "$(basename $0)" 0 | ||
33 | niro | 146 |
Properties
Name | Value |
---|---|
svn:executable | * |