Hello, we are trying to run the below script via JAMF and it works fine using the Terminal locally, but the desired result (mounting a network share via DLC) sometimes works and sometimes does not.
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.xsan.plist
sudo launchctl load -w -F /System/Library/LaunchDaemons/com.apple.xsan.plist
When it fails, we don't see any errors in the policy log in JAMF. Any suggestions on how to troubleshoot?
Thanks!