summaryrefslogtreecommitdiffstats
path: root/etc/devd.conf
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2004-11-28 23:16:00 +0000
committeriedowse <iedowse@FreeBSD.org>2004-11-28 23:16:00 +0000
commitee64a49effa3bd7ad6af96dff45e0f9f16ec3163 (patch)
tree75af19bffa79cb3fea90b60fca596acf9d9c235f /etc/devd.conf
parent79c8e254bb2450cdb7489d5c7bdbc74b13525bbe (diff)
downloadFreeBSD-src-ee64a49effa3bd7ad6af96dff45e0f9f16ec3163.zip
FreeBSD-src-ee64a49effa3bd7ad6af96dff45e0f9f16ec3163.tar.gz
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
Diffstat (limited to 'etc/devd.conf')
-rw-r--r--etc/devd.conf7
1 files changed, 7 insertions, 0 deletions
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.
#
OpenPOWER on IntegriCloud