diff options
Diffstat (limited to 'etc/devd.conf')
-rw-r--r-- | etc/devd.conf | 7 |
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. # |