summaryrefslogtreecommitdiff
path: root/audio/ngjackspa/setcap.sh
blob: 5c2dff80ab066ebc90f8fad7d4fe7ecd2b783687 (plain)
1
2
3
4
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