desktop/wireshark/wireshark.install

9 lines
235 B
Plaintext
Raw Normal View History

post_install() {
2018-04-25 18:56:42 +08:00
post_upgrade
echo "NOTE: To run wireshark as normal user you have to add yourself into wireshark group"
}
post_upgrade() {
2018-04-25 18:56:42 +08:00
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip CAP_DAC_OVERRIDE+eip' usr/bin/dumpcap
}