From ee64a49effa3bd7ad6af96dff45e0f9f16ec3163 Mon Sep 17 00:00:00 2001 From: iedowse Date: Sun, 28 Nov 2004 23:16:00 +0000 Subject: Move the purely device-name based entries for mice and ethernet adapters from usbd.conf to devd.conf. USB ethernet devices were already handled in devd.conf so this just removes their usbd.conf entry. PR: conf/73799 --- etc/devd.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'etc/devd.conf') diff --git a/etc/devd.conf b/etc/devd.conf index db8cf0e..8c918ad 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -66,6 +66,13 @@ detach 100 { action "kbdcontrol -k /dev/kbd0 < /dev/console"; }; +# The entry below starts moused when a mouse is plugged in. Moused +# stops automatically (actually it bombs :) when the device disappears. +attach 100 { + device-name "ums[0-9]+"; + action "/etc/rc.d/moused start $device-name"; +}; + # # Rescan scsi device-names on attach, but not detach. # -- cgit v1.1