diff options
Diffstat (limited to 'audio/ngjackspa/setcap.sh')
-rw-r--r-- | audio/ngjackspa/setcap.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/ngjackspa/setcap.sh b/audio/ngjackspa/setcap.sh new file mode 100644 index 0000000000000..5c2dff80ab066 --- /dev/null +++ b/audio/ngjackspa/setcap.sh @@ -0,0 +1,5 @@ +if [ -x /sbin/setcap ]; then + for setcapfile in gjackspa jackspa-cli njackspa qjackspa; do + [ -e usr/bin/$setcapfile ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$setcapfile + done +fi |