Remove some of the messages from setting time.
This commit is contained in:
parent
3af6bbcce5
commit
6e7943a00b
@ -28,7 +28,8 @@ fi
|
|||||||
sudo ln -s /usr/share/zoneinfo/${region}/${city} /etc/localtime
|
sudo ln -s /usr/share/zoneinfo/${region}/${city} /etc/localtime
|
||||||
|
|
||||||
# Make sure we are syncing with the internet
|
# Make sure we are syncing with the internet
|
||||||
|
echo "Setting up ntpd"
|
||||||
sudo timedatectl set-ntp false
|
sudo timedatectl set-ntp false
|
||||||
sudo systemctl stop ntpd
|
sudo systemctl stop ntpd
|
||||||
sudo ntpd -gq
|
sudo ntpd -Ggq &> /dev/null
|
||||||
sudo systemctl enable ntpd --now
|
sudo systemctl enable ntpd --now
|
||||||
|
Loading…
Reference in New Issue
Block a user