Scripting error

Not applicable

Hey guys & gals,
I am having an issue with a shell script executing properly. I have added the shell script directly to Casper Admin & created the policy in JSS to trigger at login once per user. The scope is set correctly but the script is not working. The policy is suppose do disable indexing when the user logs in. Any help would be appreciated. Script is below

#!/bin/sh
mdutil -a -i off
exit 0

Michael Brown
Derby USD 260
Technology Department
316-788-8591

1 REPLY 1

tlarkin
Honored Contributor

what do the policy logs say?