setcap.sh 357 B

12345678910
  1. # 20211128 bkw: lxvst-query doesn't need capabilities.
  2. if [ -x /sbin/setcap ]; then
  3. for i in rju-data rju-dl rju-level rju-osc rju-play rju-plumbing rju-record rju-scope rju-transport rju-udp
  4. do
  5. /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$i
  6. done
  7. [ -x usr/bin/rju-lxvst ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/rju-lxvst
  8. fi