Fix cdev. It is a device node name, not a pathname.

This commit is contained in:
hrs 2014-09-19 07:18:45 +00:00
parent b010d64973
commit c8f0850d9e

View File

@ -6,7 +6,7 @@ notify 10 {
match "system" "DEVFS";
match "subsystem" "CDEV";
match "type" "CREATE";
match "cdev" "/dev/hv_kvp_dev";
match "cdev" "hv_kvp_dev";
action "/usr/sbin/hv_kvp_daemon";
};
@ -14,6 +14,6 @@ notify 10 {
match "system" "DEVFS";
match "subsystem" "CDEV";
match "type" "DESTROY";
match "cdev" "/dev/hv_kvp_dev";
match "cdev" "hv_kvp_dev";
action "pkill -x hv_kvp_daemon";
};