[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#185844: Setting keyboard at boot time



I agree this is a better place to put it.
I shall make the change as soon as I am in a position to test it,
hopefully tonight (screwed up dpkg repository).

Regards,
Alastair


On Thu, 2003-05-01 at 10:50, Petter Reinholdtsen wrote:
> I noticed the changes to rootskel in CVS.  I do not think it is
> required to modify rootskel to be able to set the keyboard at boot
> time.  When d-i boots, the /etc/init.d/rcS script executes this code:
> 
>   if [ -d /etc/rcS.d ]; then
>       for script in /etc/rcS.d/S[0-9][0-9]*; do
>           [ -x "$script" ] && $script
>       done
>   fi
> 
> Adding the following script in kbd-chooser as
> /etc/rcS.d/S50kbd-chooser (or something similar) should solve the
> problem:
> 
>   #!/bin/sh
>   kbdchooser=/usr/bin/kbd-chooser
>   # Set the kbd early, if necessary
>   if [ -x "$kbdchooser" -a "$bootkbd" ] ; then
>      $kbdchooser $bootkbd
>   fi
> 
> I believe this is a better place to fix bug #185844.  Please test at
> let me know if this work.  I will remove the changes from rootskel if
> this work.
> 



Reply to: