11 lines
475 B
Plaintext
11 lines
475 B
Plaintext
case "${ACTION}" in
|
|
post)
|
|
|
|
chown root:kismet usr/bin/kismet_cap_linux_wifi usr/bin/kismet_cap_linux_bluetooth usr/bin/kismet_cap_nrf_mousejack
|
|
chmod 0750 usr/bin/kismet_cap_linux_wifi usr/bin/kismet_cap_linux_bluetooth usr/bin/kismet_cap_nrf_mousejack
|
|
setcap cap_net_raw,cap_net_admin=eip usr/bin/kismet_cap_linux_wifi
|
|
setcap cap_net_raw,cap_net_admin=eip usr/bin/kismet_cap_linux_bluetooth
|
|
setcap cap_net_raw,cap_net_admin=eip usr/bin/kismet_cap_nrf_mousejack
|
|
;;
|
|
esac
|