summaryrefslogtreecommitdiffstats
path: root/etc/devd
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2014-09-19 07:18:45 +0000
committerhrs <hrs@FreeBSD.org>2014-09-19 07:18:45 +0000
commitc8f0850d9e1c2c06eda5a31abdb0e409175d8ee6 (patch)
treefd792805878e3b75c10e1a1b94d2c81764d1d208 /etc/devd
parentb010d64973d74690ffdc3b93253a08b9e704175e (diff)
downloadFreeBSD-src-c8f0850d9e1c2c06eda5a31abdb0e409175d8ee6.zip
FreeBSD-src-c8f0850d9e1c2c06eda5a31abdb0e409175d8ee6.tar.gz
Fix cdev. It is a device node name, not a pathname.
Diffstat (limited to 'etc/devd')
-rw-r--r--etc/devd/hyperv.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/devd/hyperv.conf b/etc/devd/hyperv.conf
index 8abafa9..bed7383 100644
--- a/etc/devd/hyperv.conf
+++ b/etc/devd/hyperv.conf
@@ -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";
};
OpenPOWER on IntegriCloud