aboutsummaryrefslogtreecommitdiff
path: root/audio/calf/setcap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'audio/calf/setcap.sh')
-rw-r--r--audio/calf/setcap.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/calf/setcap.sh b/audio/calf/setcap.sh
new file mode 100644
index 0000000000000..f6615e0bf1ab0
--- /dev/null
+++ b/audio/calf/setcap.sh
@@ -0,0 +1,3 @@
+[ -x /sbin/setcap ] && [ -x usr/bin/calf_gtk ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/calf_gtk
+[ -x /sbin/setcap ] && [ -x usr/bin/calfjackhost ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/calfjackhost
+