Hi all,
I'm having weird problems with the MountNetworkShare.sh . Nothing has been modified except to input the network path but it returns with:
/usr/sbin/jamf is version 8.62 Executing Policy Run Script mountNetworkShare.sh... Creating directory structure for /Library/Application Support/JAMF/Downloads/ Downloading http://<serveraddressremoved>:80/CasperShare/Scripts/mountNetworkShare.sh... Running script mountNetworkShare.sh... Script exit code: 2 Script result: /private/tmp/mountNetworkShare.sh: line 1: syntax error near unexpected token `newline' /private/tmp/mountNetworkShare.sh: line 1: `<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">'
It looks like it's converting it to a html doc and can't execute but why???