2010-04-20 12:58:29 +00:00
|
|
|
description "Load System default Keymap"
|
|
|
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
|
|
|
version 1.0
|
|
|
|
emits none special
|
2008-05-03 17:03:02 +00:00
|
|
|
|
2010-04-20 12:58:29 +00:00
|
|
|
start on stopped mountfs
|
2008-05-03 17:03:02 +00:00
|
|
|
|
|
|
|
console output
|
|
|
|
script
|
2010-04-20 12:58:29 +00:00
|
|
|
echo "Loading Keymap"
|
|
|
|
source /etc/init/functions
|
2008-05-03 17:03:02 +00:00
|
|
|
if [ -f /etc/sysconfig/kbd/setkeys ]; then
|
|
|
|
exec 3</etc/sysconfig/kbd/setkeys
|
|
|
|
while read <&3 CODE MAP; do
|
|
|
|
setkeycodes $CODE $MAP
|
|
|
|
done
|
2010-01-28 13:58:15 +00:00
|
|
|
status_message "Load of Special kbd mappings..."
|
2008-05-03 17:03:02 +00:00
|
|
|
exec 3>&-
|
|
|
|
fi
|
2010-04-20 12:58:29 +00:00
|
|
|
/usr/bin/loadkeys -d >/dev/null
|
|
|
|
status_message "Loaded Keymap ..."
|
2008-05-03 17:03:02 +00:00
|
|
|
end script
|