Here's the step by step guide:
- finding the command line arguments:
- sudo systemsetup -setnetworktimeserver your.time.server.ac.uk
- sudo systemsetup -setusingnetworktime on
- making a shell script
- make a new plain text document using "TextEdit"
- make the first line:
- #!/bin/bash
- paste the two lines from 1.1 and 1.2
- save as (untick "add .txt file extension) and put .sh at the end
- make it executable
- in terminal type:
- chmod 744 nameOfShellScript.sh
- make a .pkg file which runs this script
- I use Iceberg. Here are the screenshots:
- When done, go to Build > build
- navigate to the project folder in Finder and inside the "Build" folder you'll find the .pkg file.
- test it on a computer
- Send to all machine
- I use Apple Remote Desktop Task Server for this
- select the computers in a list
- click "Install Packages"
- select the package
- select "run this task from: The Task Server on your.task.server.ac.uk"
- sorted
- sorted
- sorted
No comments:
Post a Comment