summaryrefslogtreecommitdiffstats
path: root/etc/devd.conf
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2005-05-11 10:24:20 +0000
committerbrian <brian@FreeBSD.org>2005-05-11 10:24:20 +0000
commitf3b828668d425dad17a5b33c06991ca81dfff3c0 (patch)
treeb5dbd1e2346091a3208933fc332f1e7ef2eb626f /etc/devd.conf
parent2a3560b50ea0bd4f1996b6074e5b66dfbb13521c (diff)
downloadFreeBSD-src-f3b828668d425dad17a5b33c06991ca81dfff3c0.zip
FreeBSD-src-f3b828668d425dad17a5b33c06991ca81dfff3c0.tar.gz
Run /etc/rc.d/syscons restart when a usb keyboard is attached so that the
keymap and other settings are correct.
Diffstat (limited to 'etc/devd.conf')
-rw-r--r--etc/devd.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/devd.conf b/etc/devd.conf
index 097927e..d0992ad 100644
--- a/etc/devd.conf
+++ b/etc/devd.conf
@@ -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";
OpenPOWER on IntegriCloud