diff options
author | kmacy <kmacy@FreeBSD.org> | 2008-06-15 13:25:23 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2008-06-15 13:25:23 +0000 |
commit | 7f7fc86beaf699f7b625d8480a605663d9e1de64 (patch) | |
tree | 46e29ca085fa7eea1d211afe7ba3daee0b5d673e /etc/devd.conf | |
parent | 257bc23f07a1cb68b85763c927a7e37c453fe682 (diff) | |
download | FreeBSD-src-7f7fc86beaf699f7b625d8480a605663d9e1de64.zip FreeBSD-src-7f7fc86beaf699f7b625d8480a605663d9e1de64.tar.gz |
Stop moused on a detach event. Remove incorrect comment.
This fixes frequent problems with usb mice and kvm switches caused by moused hanging around.
Suggested by: Matthew Dodd
MFC after: 2 weeks
Diffstat (limited to 'etc/devd.conf')
-rw-r--r-- | etc/devd.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/devd.conf b/etc/devd.conf index bb41b5b..3246659 100644 --- a/etc/devd.conf +++ b/etc/devd.conf @@ -115,6 +115,11 @@ attach 100 { action "/etc/rc.d/moused quietstart $device-name"; }; +detach 100 { + device-name "ums[0-9]+"; + action "/etc/rc.d/moused stop $device-name"; +}; + # Firmware download into the ActiveWire board. After the firmware download is # done the device detaches and reappears as something new and shiny # automatically. |