Advertisement
Guest User

fake-hwclock

a guest
Apr 23rd, 2014
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1.  
  2. pi@SiPi01 /etc/cron.hourly $ cat fake-hwclock
  3. #!/bin/sh
  4. #
  5. # Simple cron script - save the current clock periodically in case of
  6. # a power failure or other crash
  7.  
  8. if (command -v fake-hwclock >/dev/null 2>&1) ; then
  9. fake-hwclock save
  10. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement