Viitor_upstart/etc/init/loadkeys.conf

23 lines
564 B
Plaintext
Raw Normal View History

description "Load System default Keymap"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on stopped mountfs
console output
script
echo "Loading Keymap"
source /etc/init/functions
if [ -f /etc/sysconfig/kbd/setkeys ]; then
exec 3</etc/sysconfig/kbd/setkeys
while read <&3 CODE MAP; do
setkeycodes $CODE $MAP
done
status_message "Load of Special kbd mappings..."
exec 3>&-
fi
/usr/bin/loadkeys -d >/dev/null
status_message "Loaded Keymap ..."
end script