Site Tools


linux:raspberry:raspbian:scripts:clock

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
linux:raspberry:raspbian:scripts:clock [2014/11/18 09:43] – created lunetikklinux:raspberry:raspbian:scripts:clock [2017/12/19 10:54] lunetikk
Line 1: Line 1:
 ===== Date and Time Script ===== ===== Date and Time Script =====
  
-This script can be used change the date and time if your Raspberry is not connected to a network or timeserver.+This script can be used to change the date and time if your Raspberry is not connected to a network or timeserver.
 To do this, you need to enter the current date and time in the correct format. It will refresh after some seconds. To do this, you need to enter the current date and time in the correct format. It will refresh after some seconds.
  
-<code sh time.sh>+<code bash time.sh>
 #!/bin/sh #!/bin/sh
  
Line 16: Line 16:
 sudo fake-hwclock sudo fake-hwclock
 </code> </code>
 +
 +<nodisp>
 +{{gh>https://github.com/Lunetikk/linuxscripts/blob/master/raspberrytime.sh}}
 +</nodisp>
 +
 +\\
 +\\
 +~~DISCUSSION~~
linux/raspberry/raspbian/scripts/clock.txt · Last modified: 2019/12/12 10:00 by lunetikk