Viitor_upstart/etc/init/loadkeys
kueller 061ddf553e IN neuer Upstart version liegen die Scripte unter init, und nicht mehr
unter event.d



git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_upstart@5503 504e572c-2e33-0410-9681-be2bf7408885
2010-04-20 12:47:00 +00:00

26 lines
722 B
Plaintext

# rcS - runlevel compatibility
#
# This task runs the old sysv-rc startup scripts.
start on started mountfs
#stop on runlevel
# Note: there can be no previous runlevel here, if we have one it's bad
# information (we enter rc1 not rcS for maintenance). Run /etc/init.d/rc
# without information so that it defaults to previous=N runlevel=S.
console output
script
source /etc/event.d/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
/bin/loadkeys -d >/dev/null
status_message "Load Keymap ..."
end script