Viitor_sysvinit/etc/init.d/loadkeys

65 lines
1.9 KiB
Plaintext
Raw Permalink Normal View History

#!/bin/bash
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
#dieses Framework wird im CVS Repository
#:pserver:cvs.compuextreme.de:/Data/cvs zur Verf<72>gung gestellt
#
#Lage dieser Datei im Archiv: $Source$
#
#(c) 2003 Harald Kueller, Germany
#This program is free software; you can redistribute it and/or
#modify ist under the terms of the GNU General Public License
#as published by the Free Software Foundation; either version
#2 of the License, or (at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#See the GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program; if not write to the Free Software Foundation,
#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#InitScript zum Start des Daemons:
#loadkeys script des sysvinit Prozesses
#Basierend auf einer Vorlage von Linuxfromscratch.org
#
#Letzte <20>nderung von: $Author$
#Datum der letzten <20>nderung: $Date$
#Version der Datei: $Revision$
#
#$Log$
#Revision 1.3 2006/07/18 21:04:31 kueller
#Unwillige scancodes koennen jetzt haendisch per /etc/sysconfig/kdb/setkeys
#dem kernel beigebracht werden.
#
#Revision 1.2 2004/03/03 12:48:08 kueller
#Header auf neuen Viitor GPL Header umgestellt
#
#
#Revision 1.1.1.1 2001/09/23 00:02:08 kueller
#Neustart wg. Datenverlust
#
#Revision 1.1.1.1 2001/08/08 10:02:32 kueller
#sysvinit addons
#
#
# Begin /etc/init.d/loadkeys
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
fi
exec 3>&-
echo -n "Loading keymap..."
/bin/loadkeys -d >/dev/null
evaluate_retval
# End /etc/init.d/loadkeys