We have a postinstall script for cleaning up 4 stu...
# macos
a
We have a postinstall script for cleaning up 4 stuff after unloading our custom launchd
Copy code
if [[ ! -h /usr/local/bin/osqueryd ]]; then
  ## remove in ~3 months because we should have caught all stragglers
  /bin/rm /usr/local/bin/osqueryd
  /bin/ln -s /opt/osquery/lib/osquery.app/Contents/MacOS/osqueryd /usr/local/bin/osqueryd
fi
ty 1