aboutsummaryrefslogtreecommitdiff
path: root/audio/bristol/setcap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'audio/bristol/setcap.sh')
-rw-r--r--audio/bristol/setcap.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/audio/bristol/setcap.sh b/audio/bristol/setcap.sh
new file mode 100644
index 0000000000000..58bae5c73c942
--- /dev/null
+++ b/audio/bristol/setcap.sh
@@ -0,0 +1,6 @@
+if [ -x /sbin/setcap ]; then
+ for file in bristol brighton bristoljackstats; do
+ /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$file
+ done
+fi
+