mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
always use ntp
This commit is contained in:
parent
e38f97e91b
commit
454fc4dcd4
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ _timeset() {
|
|||
# check internet connection
|
||||
if ping -c1 www.google.com &>/dev/null; then
|
||||
_dialog --infobox "Syncing clock with NTP pool..." 3 45
|
||||
sleep 3
|
||||
# sync immediatly with standard pool
|
||||
if ! systemctl restart systemd-timesyncd; then
|
||||
_dialog --msgbox "An error has occured, time was not changed!" 0 0
|
||||
|
|
Loading…
Reference in a new issue