Advertisement
Guest User

Untitled

a guest
Jun 30th, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. 1. copy the following into /etc/init.d/set-date
  2. 2. chmod 744 /etc/init.d/set-date
  3. 3. update-rc.d /etc/init.d/et-date defaults
  4. 4. reboot
  5. 5. login
  6. 6. check date+time time with the "date" command
  7.  
  8. #!/bin/sh
  9.  
  10. ### BEGIN INIT INFO
  11. # Provides: set-time
  12. # Required-Start: $local_fs $network $named
  13. # Required-Stop:
  14. # Default-Start: 2 3 4 5
  15. # Default-Stop: 0 1 6
  16. # Short-Description: set time
  17. # Description: set time
  18. ### END INIT INFO
  19.  
  20. ntpdate time.nist.gov
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement