27 lines
738 B
Plaintext
27 lines
738 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/init.d/functions
|
||
|
if [ -f /etc/sysconfig/kbd/setkeys ]; then
|
||
|
echo -n "Loading Special kbd mappings"
|
||
|
exec 3</etc/sysconfig/kbd/setkeys
|
||
|
while read <&3 CODE MAP; do
|
||
|
setkeycodes $CODE $MAP
|
||
|
done
|
||
|
evaluate_retval
|
||
|
exec 3>&-
|
||
|
fi
|
||
|
echo -n "Loading keymap..."
|
||
|
/bin/loadkeys -d >/dev/null
|
||
|
end script
|