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
This commit is contained in:
Kip Macy 2008-06-15 13:25:23 +00:00
parent 97a7b90ff3
commit 3edb14e94b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179804

View File

@ -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.