Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1245 - (hide annotations) (download)
Fri Mar 11 17:17:01 2011 UTC (13 years, 2 months 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 niro 2 #!/bin/bash
2 niro 931 # $Id$
3 niro 2
4     #%rlevels: 7:s
5     #%start: 70
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 1245 source /etc/conf.d/keymap
16 niro 2
17 niro 1245 case "$1" in
18     start)
19     rc_print "Loading keymap... [ ${KEYMAP} ]"
20     loadkeys -q ${KEYMAP}
21     evaluate_retval
22 niro 2
23 niro 1245 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 *