summaryrefslogtreecommitdiff
path: root/audio/lsmi/setcap.sh
blob: 56bb60de0b8691a022e3284bdd69918588950ecd (plain)
1
2
3
4
5
if [ -x /sbin/setcap ]; then
  for i in lsmi-joystick lsmi-keyhack lsmi-monterey lsmi-mouse; do
    /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$i
  done
fi