From f1994b9421bd6f78b686a1c232ee6aa96cea9f5d Mon Sep 17 00:00:00 2001 From: emax Date: Thu, 16 Mar 2006 17:42:28 +0000 Subject: 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 --- etc/devd.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/devd.conf') 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"; -- cgit v1.1