Advertisement
Guest User

Untitled

a guest
Apr 18th, 2014
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. # Determine working directory
  4.  
  5. install_dir=`dirname $0`
  6.  
  7. # Create the /Library/Application Support/Dell/KACE/data on the boot drive
  8. mkdir -p "/Library/Application Support/Dell/KACE/data"
  9.  
  10. # Add the server address of the KBox 1000 to /Library/Application Support/Dell/KACE/data/amp.conf
  11. echo "host=server.name.here" > "/Library/Application Support/Dell/KACE/data/amp.conf"
  12.  
  13. # Wait 15 seconds
  14. sleep 15
  15.  
  16. # Install the KBox agent
  17. /usr/sbin/installer -dumplog -verbose -pkg "$install_dir/AMPAgent.pkg" -target "$3"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement