diff options
Diffstat (limited to 'audio/lsmi/setcap.sh')
-rw-r--r-- | audio/lsmi/setcap.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/lsmi/setcap.sh b/audio/lsmi/setcap.sh new file mode 100644 index 0000000000000..56bb60de0b869 --- /dev/null +++ b/audio/lsmi/setcap.sh @@ -0,0 +1,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 |