Run /etc/rc.d/syscons restart when a usb keyboard is attached so that the

keymap and other settings are correct.
This commit is contained in:
Brian Somers 2005-05-11 10:24:20 +00:00
parent cc8c6970fd
commit 709acd0300

View File

@ -60,7 +60,7 @@ detach 100 {
# When a USB keyboard arrives, attach it as the console keyboard.
attach 100 {
device-name "ukbd0";
action "kbdcontrol -k /dev/ukbd0 < /dev/console";
action "kbdcontrol -k /dev/ukbd0 < /dev/console && /etc/rc.d/syscons restart";
};
detach 100 {
device-name "ukbd0";