Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2014 11:32:47 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374798 - head/audio/jack_umidi/files
Message-ID:  <201412161132.sBGBWlGM030135@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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`";
+};



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412161132.sBGBWlGM030135>