- changed version to 2.1
Pre Stage Script
Issue #296
new
If there was a way to run a script before-hand to pull in some variables that would be helpful.
Examples:
ACTUALICN=$(/usr/bin/defaults read /Volumes/$SELECTEDICNVOLUME/Library/Preferences/com.apple.RemoteDesktop.plist | grep "Text1")
echo "The previous ICN of this machine was: "
echo $ACTUALICN | tr -cd [:digit:]
ICNLOOKUP=$(curl -vvv -s -i -d service_tag=$MAC_SERIAL_NUMBER $TOPNETURL | grep -A1 "ICN")echo "ICN Lookup:"
echo $ICNLOOKUP | tr -cd [:digit:]
Comments (3)
-
-
- changed milestone to future
-
waiting for more upvotes
- Log in to comment