How to enable RTC: Difference between revisions
No edit summary |
No edit summary |
||
| Line 23: | Line 23: | ||
[[File:X728-7.png|none]] | [[File:X728-7.png|none]] | ||
--> | --> | ||
< | <pre> | ||
#!/bin/sh | #!/bin/sh | ||
# Reset the System Clock to UTC if the hardware clock from which it | # Reset the System Clock to UTC if the hardware clock from which it | ||
| Line 36: | Line 36: | ||
#/sbin/hwclock --rtc=$dev --systz | #/sbin/hwclock --rtc=$dev --systz | ||
#/sbin/hwclock --rtc=$dev --hctosys | #/sbin/hwclock --rtc=$dev --hctosys | ||
</ | </pre> | ||
PS: Inserting a `# `at the beginning of a line means to comment the line | PS: Inserting a `# `at the beginning of a line means to comment the line | ||