Don't fail if timesyncd can't be installed on armbian

This commit is contained in:
Taylor Helsper 2022-12-30 19:20:23 -06:00
parent 5ee6b43f2d
commit 7474f7a468

View File

@ -165,8 +165,8 @@ if ! skip_base_upgrades ; then
apt-get -y purge ntp # (conflicts with systemd-timedatectl)
apt-get -y purge chrony # (conflicts with systemd-timedatectl)
if [ $IS_ARMBIAN = 1 ] ; then
$TORIFY apt-get -y install systemd-timesyncd
timedatectl set-ntp true
$TORIFY apt-get -y install systemd-timesyncd || true
timedatectl set-ntp true || true
fi