diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-26 17:44:17 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-26 17:44:17 +0000 |
commit | 2d78050fd56b8188aa5a65ad2667e301b60eea45 (patch) | |
tree | b54d4adac6de0a196b8bb8a67b34fe186c21378f /packaging/macosx | |
parent | Adding upstream version 4.2.2. (diff) | |
download | wireshark-2d78050fd56b8188aa5a65ad2667e301b60eea45.tar.xz wireshark-2d78050fd56b8188aa5a65ad2667e301b60eea45.zip |
Adding upstream version 4.2.4.upstream/4.2.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging/macosx')
-rwxr-xr-x | packaging/macosx/ChmodBPF/install-scripts/postinstall | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/macosx/ChmodBPF/install-scripts/postinstall b/packaging/macosx/ChmodBPF/install-scripts/postinstall index 1f11eb3e..8f5035de 100755 --- a/packaging/macosx/ChmodBPF/install-scripts/postinstall +++ b/packaging/macosx/ChmodBPF/install-scripts/postinstall @@ -32,4 +32,9 @@ chown root:wheel "$CHMOD_BPF_PLIST" # Clean up our legacy startup item if it's still around. rm -rf /Library/StartupItems/ChmodBPF +# Try to bootout first, otherwise bootstrap will fail with +# "Bootstrap failed: 5: Input/output error" +# if org.wireshark.ChmodBPF is already loaded. +launchctl bootout system "$CHMOD_BPF_PLIST" > /dev/null 2>&1 + launchctl bootstrap system "$CHMOD_BPF_PLIST" |