mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-01 17:37:44 +01:00
Update timedatectl
This commit is contained in:
@@ -55,7 +55,7 @@ case "$1" in
|
|||||||
utc_time="$(date -u)"
|
utc_time="$(date -u)"
|
||||||
time_zone="$(show_timezone)"
|
time_zone="$(show_timezone)"
|
||||||
# Check if NTP is used
|
# Check if NTP is used
|
||||||
if sudo systemctl status systemd-timesyncd | grep -q "active"; then
|
if sudo systemctl status systemd-timesyncd | grep -q " active"; then
|
||||||
ntp_status="yes"
|
ntp_status="yes"
|
||||||
ntp_service="active"
|
ntp_service="active"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user