summaryrefslogtreecommitdiffstats
path: root/etc/devd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/devd.conf')
-rw-r--r--etc/devd.conf20
1 files changed, 14 insertions, 6 deletions
diff --git a/etc/devd.conf b/etc/devd.conf
index fa9ed98..d379ab0 100644
--- a/etc/devd.conf
+++ b/etc/devd.conf
@@ -115,14 +115,22 @@ detach 100 {
action "/etc/rc.d/syscons setkeyboard /dev/kbd0";
};
-attach 100 {
- device-name "ums[0-9]+";
- action "/etc/rc.d/moused quietstart $device-name";
+notify 100 {
+ match "system" "DEVFS";
+ match "subsystem" "CDEV";
+ match "type" "CREATE";
+ match "cdev" "ums[0-9]+";
+
+ action "/etc/rc.d/moused quietstart $cdev";
};
-detach 100 {
- device-name "ums[0-9]+";
- action "/etc/rc.d/moused stop $device-name";
+notify 100 {
+ match "system" "DEVFS";
+ match "subsystem" "CDEV";
+ match "type" "DESTROY";
+ match "cdev" "ums[0-9]+";
+
+ action "/etc/rc.d/moused stop $cdev";
};
# Firmware download into the ActiveWire board. After the firmware download is
OpenPOWER on IntegriCloud