mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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:
parent
97a7b90ff3
commit
3edb14e94b
1 changed files with 5 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue