Contents of /trunk/initscripts/sysvinit/rc/loadkeys
Parent Directory | Revision Log
Revision 2035 -
(show annotations)
(download)
Thu Jan 24 15:21:11 2013 UTC (11 years, 8 months ago) by niro
File size: 540 byte(s)
Thu Jan 24 15:21:11 2013 UTC (11 years, 8 months ago) by niro
File size: 540 byte(s)
-migrate to vconsole.conf and locale.conf
1 | #!/bin/bash |
2 | # $Id$ |
3 | |
4 | #%rlevels: 7:s |
5 | #%start: 70 |
6 | #%stop: |
7 | |
8 | #deps |
9 | #%needs: |
10 | #%before: |
11 | #%after: |
12 | |
13 | source /etc/conf.d/rc |
14 | source ${rc_functions} |
15 | source /etc/vconsole.conf |
16 | |
17 | case "$1" in |
18 | start) |
19 | rc_print "Loading keymap... [ ${KEYMAP} ]" |
20 | # be busybox compat |
21 | if [[ -x /sbin/loadkmap ]] |
22 | then |
23 | loadkmap < /usr/share/busybox/keymaps/${KEYMAP}.kmap |
24 | evaluate_retval |
25 | else |
26 | loadkeys -q ${KEYMAP} |
27 | evaluate_retval |
28 | fi |
29 | |
30 | update_svcstatus $1 |
31 | splash svc_started "$(basename $0)" 0 |
32 | ;; |
33 | |
34 | *) |
35 | rc_echo "Usage: $0 {start}" |
36 | exit 1 |
37 | ;; |
38 | esac |
Properties
Name | Value |
---|---|
svn:executable | * |