mirror of
https://github.com/femtofox/femtofox.git
synced 2026-10-26 19:02:00 -04:00
Update rc.local
This commit is contained in:
parent
addc480402
commit
2d982d694a
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ if ls /dev/rtc* 1> /dev/null 2>&1; then
|
|||
echo "RTC device found but failed to get time."
|
||||
else
|
||||
hwclock -s > /dev/null 2>&1 &
|
||||
echo "RTC device found! $(date +"%Y-%m-%d %H:%M:%S %Z")."
|
||||
echo "RTC device found, time is $(date +"%Y-%m-%d %H:%M:%S %Z")."
|
||||
fi
|
||||
else
|
||||
echo "RTC not found."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue