Hi,
Am struggling a bit with deploying a plist and script.
What i am trying to achieve is that i deploy the plist in the launchdeamon folder and the script in the scripts folder in a subfolder.
Options i tried:
1. Tried to package it and then deploy it directly in those folders but that doesn't work.
2. Created a DMG and copy it by default in the /Library/Application SupportJamf folder and then move it to the appropiate folders but that also doesn't work.
So the question is, does anyone have a hint on how to do this in a correct way?
In short i want to deploy the .plist in /Library/LaunchDeamons and the script in /Library/Script/Subfolder and then launch the deamon with sudo launchctl load -w /Library/LaunchDaemons/com.company.networkwatcher.plist
When i manually deploy it works nicely but i want to have it scoped by JAMF as a policy as it is a policy for automatic switching between LAN / WIFi.
Thanks,
Dennis