Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. copy the following into /etc/init.d/set-date
- 2. chmod 744 /etc/init.d/set-date
- 3. update-rc.d /etc/init.d/et-date defaults
- 4. reboot
- 5. login
- 6. check date+time time with the "date" command
- #!/bin/sh
- ### BEGIN INIT INFO
- # Provides: set-time
- # Required-Start: $local_fs $network $named
- # Required-Stop:
- # Default-Start: 2 3 4 5
- # Default-Stop: 0 1 6
- # Short-Description: set time
- # Description: set time
- ### END INIT INFO
- ntpdate time.nist.gov
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement