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