slackbuilds_ponce/audio/lsmi/setcap.sh
B. Watson bf4ab6962d audio/lsmi: Added (map device input to ALSA MIDI sequencer events)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2013-06-04 00:11:32 -05:00

5 lines
163 B
Bash

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