diff options
author | emax <emax@FreeBSD.org> | 2006-03-16 17:42:28 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2006-03-16 17:42:28 +0000 |
commit | f1994b9421bd6f78b686a1c232ee6aa96cea9f5d (patch) | |
tree | 88b3b35cb803445fbddc9e3e9b0914e7751511ab /etc/devd.conf | |
parent | c82f5e5987891517403fabece3f22b9bd81bbd2f (diff) | |
download | FreeBSD-src-f1994b9421bd6f78b686a1c232ee6aa96cea9f5d.zip FreeBSD-src-f1994b9421bd6f78b686a1c232ee6aa96cea9f5d.tar.gz |
Reorganize /etc/rc.d/syscons and move all keyboard related settings
into one function syscons_configure_keyboard(). Call new function from
both syscons_start() and sysconst_setkeyboard(). The reason for this
is because syscons_start() will (re)configure both keyboard and screen
settings. Apparently, some graphics cards have problems with running
vidcontrol(1) while X11 is running.
Remove "/etc/rc.d/syscons restart" from /etc/devd.conf. It is no longer
required. Using "/etc/rc.d/syscons setkeyboard" is enough. This also
should fix annoying "syscons not running?" message.
Tested by: Ulrich Spoerlein < q at galgenberg dot net >
MFC after: 3 days
Diffstat (limited to 'etc/devd.conf')
-rw-r--r-- | etc/devd.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/devd.conf b/etc/devd.conf index 5385e06..a8d7716 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -99,7 +99,7 @@ detach 100 { # When a USB keyboard arrives, attach it as the console keyboard. attach 100 { device-name "ukbd0"; - action "/etc/rc.d/syscons setkeyboard /dev/ukbd0 && /etc/rc.d/syscons restart"; + action "/etc/rc.d/syscons setkeyboard /dev/ukbd0"; }; detach 100 { device-name "ukbd0"; |