aboutsummaryrefslogtreecommitdiff
path: root/audio/jack-tools/setcap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'audio/jack-tools/setcap.sh')
-rw-r--r--audio/jack-tools/setcap.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/jack-tools/setcap.sh b/audio/jack-tools/setcap.sh
new file mode 100644
index 0000000000000..93f5db1c7eed5
--- /dev/null
+++ b/audio/jack-tools/setcap.sh
@@ -0,0 +1,5 @@
+if [ -x /sbin/setcap ]; then
+ for i in jack-dl jack-osc jack-play jack-plumbing jack-record jack-scope jack-transport jack-udp; do
+ /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$i
+ done
+fi