void-packages/srcpkgs/wireshark/INSTALL

15 lines
375 B
Plaintext
Raw Normal View History

2014-04-01 16:39:47 +02:00
case "${ACTION}" in
post)
chgrp wireshark usr/bin/dumpcap
2014-04-01 16:39:47 +02:00
/usr/sbin/setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap
cat <<_EOF
=================================================================
You should also add your user to the 'wireshark' group to be able
to capture traffic
==================================================================
_EOF
;;
esac