summaryrefslogtreecommitdiffstats
path: root/etc/devd/hyperv.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/devd/hyperv.conf')
-rw-r--r--etc/devd/hyperv.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/devd/hyperv.conf b/etc/devd/hyperv.conf
new file mode 100644
index 0000000..bed7383
--- /dev/null
+++ b/etc/devd/hyperv.conf
@@ -0,0 +1,19 @@
+# $FreeBSD$
+#
+# Hyper-V specific events
+
+notify 10 {
+ match "system" "DEVFS";
+ match "subsystem" "CDEV";
+ match "type" "CREATE";
+ match "cdev" "hv_kvp_dev";
+ action "/usr/sbin/hv_kvp_daemon";
+};
+
+notify 10 {
+ match "system" "DEVFS";
+ match "subsystem" "CDEV";
+ match "type" "DESTROY";
+ match "cdev" "hv_kvp_dev";
+ action "pkill -x hv_kvp_daemon";
+};
OpenPOWER on IntegriCloud