summaryrefslogtreecommitdiff
path: root/audio/lsmi/setcap.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2013-06-03 16:24:41 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-06-04 00:11:32 -0500
commitbf4ab6962d0aa471d1906c66041b0f45f8e0391f (patch)
treef7ec7d93c1294fa446a8456628c02024e2184e21 /audio/lsmi/setcap.sh
parent995fe8e3c439e833c80c41a8fd0ccbcb582d6db5 (diff)
downloadslackbuilds-bf4ab6962d0aa471d1906c66041b0f45f8e0391f.tar.gz
audio/lsmi: Added (map device input to ALSA MIDI sequencer events)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/lsmi/setcap.sh')
-rw-r--r--audio/lsmi/setcap.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/lsmi/setcap.sh b/audio/lsmi/setcap.sh
new file mode 100644
index 0000000000..56bb60de0b
--- /dev/null
+++ b/audio/lsmi/setcap.sh
@@ -0,0 +1,5 @@
+if [ -x /sbin/setcap ]; then
+ for i in lsmi-joystick lsmi-keyhack lsmi-monterey lsmi-mouse; do
+ /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$i
+ done
+fi