summaryrefslogtreecommitdiff
path: root/audio/sooperlooper/setcap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sooperlooper/setcap.sh')
-rw-r--r--audio/sooperlooper/setcap.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/sooperlooper/setcap.sh b/audio/sooperlooper/setcap.sh
new file mode 100644
index 0000000000..6734d2b86f
--- /dev/null
+++ b/audio/sooperlooper/setcap.sh
@@ -0,0 +1,5 @@
+if [ -x /sbin/setcap ]; then
+ for i in slgui slregister slconsole sooperlooper; do
+ /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$i
+ done
+fi