aboutsummaryrefslogtreecommitdiff
path: root/audio/jack-tools/setcap.sh
blob: 04d1b9e47a40b1b50e6b3d06d6711897d6a951e5 (plain)
1
2
3
4
5
6
7
8
9
# 20211128 bkw: lxvst-query doesn't need capabilities.

if [ -x /sbin/setcap ]; then
  for i in rju-data rju-dl rju-level rju-osc rju-play rju-plumbing rju-record rju-scope rju-transport rju-udp
  do
    /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$i
  done
  [ -x usr/bin/rju-lxvst ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/rju-lxvst
fi