* Fixed problem when BASEDIR paths were given without a trailing '/'.
[linux_from_scratch.git] / bootscripts / contrib / new-boot-0.2 / sbin / init.d / runlevel.1 / loadkeys
blobeff76063ae1303ab979f603c84550b48876e9200
1 #!/bin/sh
2 #
3 # load the default keymap (usually /usr/share/kbd/keymaps/defkeymap*)
6 #locate and source functions script
7 source `PATH=$INIT_D/:/sbin/init.d:/etc/init.d:/etc/rc.d type -p functions`
9 case "$1" in
10 start)
11 #need access to /usr/share/...
12 need $mounted_filesystems || exit_if_any_error
14 loadkeys -d
15 up_evaluate_retval || exit_if_any_error
17 stop)
20 exit 1
22 esac
24 exit 0