void-packages/srcpkgs/wireshark/INSTALL

8 lines
155 B
Plaintext

case "${ACTION}" in
post)
chgrp wireshark usr/bin/dumpcap
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap
chmod 770 usr/bin/dumpcap
;;
esac