Magellan Linux

Contents of /trunk/magellan-initscripts/etc/rc.d/init.d/loadkeys

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1245 - (show annotations) (download)
Fri Mar 11 17:17:01 2011 UTC (13 years, 1 month ago) by niro
File size: 393 byte(s)
-respect start|stop pragma
-split of rc.config into several conf.d config files
-use rc_print

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/conf.d/keymap
16
17 case "$1" in
18 start)
19 rc_print "Loading keymap... [ ${KEYMAP} ]"
20 loadkeys -q ${KEYMAP}
21 evaluate_retval
22
23 update_svcstatus $1
24 splash svc_started "$(basename $0)" 0
25 ;;
26
27 *)
28 rc_echo "Usage: $0 {start}"
29 exit 1
30 ;;
31 esac

Properties

Name Value
svn:executable *