Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Determine working directory
- install_dir=`dirname $0`
- # Create the /Library/Application Support/Dell/KACE/data on the boot drive
- mkdir -p "/Library/Application Support/Dell/KACE/data"
- # Add the server address of the KBox 1000 to /Library/Application Support/Dell/KACE/data/amp.conf
- echo "host=server.name.here" > "/Library/Application Support/Dell/KACE/data/amp.conf"
- # Wait 15 seconds
- sleep 15
- # Install the KBox agent
- /usr/sbin/installer -dumplog -verbose -pkg "$install_dir/AMPAgent.pkg" -target "$3"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement