svn commit: r374798 - head/audio/jack_umidi/files
Koop Mast
kwm at FreeBSD.org
Tue Dec 16 11:32:48 UTC 2014
Author: kwm
Date: Tue Dec 16 11:32:46 2014
New Revision: 374798
URL: https://svnweb.freebsd.org/changeset/ports/374798
QAT: https://qat.redports.org/buildarchive/r374798/
Log:
Commit the actualy devd script part of r374797
Added:
head/audio/jack_umidi/files/
head/audio/jack_umidi/files/jack_umidi.conf.in (contents, props changed)
Added: head/audio/jack_umidi/files/jack_umidi.conf.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/jack_umidi/files/jack_umidi.conf.in Tue Dec 16 11:32:46 2014 (r374798)
@@ -0,0 +1,14 @@
+#
+# $FreeBSD$
+#
+# Script to automatically start jack_umidi when a device is plugged in.
+# This will attempt to run jack_umidi as whatever user jackd is running as.
+#
+
+notify 0 {
+ match "system" "DEVFS";
+ match "subsystem" "CDEV";
+ match "type" "CREATE";
+ match "cdev" "umidi[0-9]*[.][0-9]*";
+ action "/usr/bin/env PATH=%%PREFIX%%/bin:/usr/bin %%PREFIX%%/sbin/jack_umidi -kBd /dev/$cdev -U `pgrep -x jackd | xargs -n 1 ps -o user= -p | head -1`";
+};
More information about the svn-ports-head
mailing list