diff options
author | root <root@rshg047.dnsready.net> | 2011-04-20 05:15:36 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-20 05:15:36 +0000 |
commit | 862a468489b5081755f9086204a012c7cd3beb3e (patch) | |
tree | 6ab46fa059be2927c621a1d526f6f95e6a4033e1 /extra/wireshark/wireshark.install | |
parent | 8f4f6fea0e8f06647b3e06c003069c93b5b033b4 (diff) |
Wed Apr 20 05:15:36 UTC 2011
Diffstat (limited to 'extra/wireshark/wireshark.install')
-rw-r--r-- | extra/wireshark/wireshark.install | 4 |
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() { |