ZeroTierOne/mac-tap/tuntap/pkg/scripts/startup_item_tun/postflight

13 lines
297 B
Bash
Executable File

#!/bin/sh
# old versions resided in /System/Library, remove.
rm -r /System/Library/StartupItems/tun
# Fix ownership and permissions. PackageMaker gets this wrong *sigh*
chown -R root:wheel /Library/StartupItems/tun
chmod -R u=rwX,g=rX,o=rX /Library/StartupItems/tun
# exit successfully
exit 0