summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/macosx/Scripts/chmodbpf-postinstall.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/macosx/Scripts/chmodbpf-postinstall.sh b/packaging/macosx/Scripts/chmodbpf-postinstall.sh
index cbd2f08f12..c7f48a4cb2 100755
--- a/packaging/macosx/Scripts/chmodbpf-postinstall.sh
+++ b/packaging/macosx/Scripts/chmodbpf-postinstall.sh
@@ -4,6 +4,8 @@ CHMOD_BPF="/Library/LaunchDaemons/org.wireshark.ChmodBPF.plist"
BPF_GROUP="access_bpf"
BPF_GROUP_NAME="BPF device access ACL"
+rm -rf /Library/StartupItems/ChmodBPF
+
dscl . -read /Groups/"$BPF_GROUP" > /dev/null 2>&1 || \
dseditgroup -q -o create "$BPF_GROUP"
dseditgroup -q -o edit -a "$USER" -t user "$BPF_GROUP"