aboutsummaryrefslogtreecommitdiff
path: root/sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample
blob: c020dfae1dc5bdb7f073ca5b4a0ff38d128d36a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample
===================================================================
RCS file: sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample
diff -N sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ sysutils/uhidd/files/patch-uhidd-uhidd-devd.conf.sample 8 Aug 2011 03:25:53 -0000
@@ -0,0 +1,12 @@
+--- uhidd/uhidd-devd.conf.sample~
++++ uhidd/uhidd-devd.conf.sample
+@@ -1,4 +1,6 @@
+-attach 0 {
+- match "device-name" "ugen[0-9]+.[0-9]+";
+- action "/usr/local/etc/rc.d/uhidd start /dev/$device-name";
++notify 0 {
++ match "subsystem" "DEVICE";
++ match "type" "ATTACH";
++ match "cdev" "ugen[0-9]+.[0-9]+";
++ action "/usr/local/etc/rc.d/uhidd start /dev/$cdev";
+ };