summaryrefslogtreecommitdiff
path: root/extra/wireshark/wireshark.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-20 05:15:36 +0000
committerroot <root@rshg047.dnsready.net>2011-04-20 05:15:36 +0000
commit862a468489b5081755f9086204a012c7cd3beb3e (patch)
tree6ab46fa059be2927c621a1d526f6f95e6a4033e1 /extra/wireshark/wireshark.install
parent8f4f6fea0e8f06647b3e06c003069c93b5b033b4 (diff)
Wed Apr 20 05:15:36 UTC 2011
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() {