Raspbian: Script For Synchronizing Date & Time And Updating All Packages (for beginners)
Here is my system-update.sh script which able to do these operations:
- synchronize date & time (DTS) via NTP;
- write synchronized DTS to my RTC (DS3221) *;
- update all installed packages.
* - if you want to know how to attach DS3231 (RTC) to your RPi you can read my post Installing hardware RTC (DS3231) to Raspberry Pi
