summaryrefslogtreecommitdiff
path: root/extra/wireshark/wireshark.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/wireshark/wireshark.install')
-rw-r--r--extra/wireshark/wireshark.install4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/wireshark/wireshark.install b/extra/wireshark/wireshark.install
index 0afdf0c8f..6585ba272 100644
--- a/extra/wireshark/wireshark.install
+++ b/extra/wireshark/wireshark.install
@@ -6,7 +6,9 @@ post_install() {
}
post_upgrade() {
- post_install $1
+ getent group wireshark >/dev/null 2>&1 || usr/sbin/groupadd -g 150 wireshark &>/dev/null
+
+ setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap
}
post_remove() {