Skip to content

Instantly share code, notes, and snippets.

@matthewbodaly
Last active October 1, 2020 01:00
Show Gist options
  • Save matthewbodaly/7a6cfabb74d896ca609bca9f62226463 to your computer and use it in GitHub Desktop.
Save matthewbodaly/7a6cfabb74d896ca609bca9f62226463 to your computer and use it in GitHub Desktop.
Create an EA with Jamf to detect a random number
#!/bin/sh
result=`head -n 1 "/Library/Application Support/dt/digit.txt"`
echo "<result>$result</result>"
@matthewbodaly
Copy link
Author

I updated this to be in the format I've started using more of lately. .... start script > generate variable > results variable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment