summaryrefslogtreecommitdiff
path: root/etc/devd.conf
diff options
context:
space:
mode:
authorIan Dowse <iedowse@FreeBSD.org>2004-11-28 23:16:00 +0000
committerIan Dowse <iedowse@FreeBSD.org>2004-11-28 23:16:00 +0000
commit6d2e81866edcb1a65721c457d857db91020be092 (patch)
tree75af19bffa79cb3fea90b60fca596acf9d9c235f /etc/devd.conf
parent01a95e0acf16274c985373d764ac992f902bcd64 (diff)
downloadsrc-test2-6d2e81866edcb1a65721c457d857db91020be092.tar.gz
src-test2-6d2e81866edcb1a65721c457d857db91020be092.zip
Notes
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 db8cf0ecc7bd..8c918ad41822 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.
#