Fix cdev. It is a device node name, not a pathname.
This commit is contained in:
parent
a6f2696932
commit
02032ae5a2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=271854
@ -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";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user