38 lines
738 B
Plaintext
38 lines
738 B
Plaintext
|
#! /bin/sh
|
||
|
# Copyright (c) 1995-2005 SUSE LINUX Products AG, Nuernberg, Germany.
|
||
|
#
|
||
|
# Author: Werner Fink <werner@suse.de>
|
||
|
#
|
||
|
# Please send feedback to http://www.suse.de/feedback
|
||
|
#
|
||
|
# /etc/init.d/earlykbd
|
||
|
#
|
||
|
### BEGIN INIT INFO
|
||
|
# Provides: earlykbd
|
||
|
# Required-Start:
|
||
|
# Required-Stop:
|
||
|
# X-SuSE-Should-Start: fbset setserial
|
||
|
# X-SuSE-Should-Stop:
|
||
|
# Default-Start: 5
|
||
|
# Default-Stop:
|
||
|
# Description: Keyboard settings (don't disable!)
|
||
|
### END INIT INFO
|
||
|
|
||
|
. /etc/rc.status
|
||
|
|
||
|
function check ()
|
||
|
{
|
||
|
# kbd can initialize if at least one of
|
||
|
# defkeymap or /usr/share is available.
|
||
|
|
||
|
test -s /etc/defkeymap.map && return 0
|
||
|
test -d /usr/share/ && return 0
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
rc_reset
|
||
|
check || exit 0
|
||
|
|
||
|
exec /etc/init.d/kbd ${1+"$@"}
|
||
|
|