|
@@ -731,6 +731,7 @@ function time_synchronisation {
|
731
|
731
|
# building tlsdate from source is a workaround because of
|
732
|
732
|
# this bug https://github.com/ioerror/tlsdate/issues/130
|
733
|
733
|
apt-get -y --force-yes install build-essential automake git pkg-config autoconf libtool libssl-dev libevent-dev
|
|
734
|
+
|
734
|
735
|
if [ ! -d $INSTALL_DIR ]; then
|
735
|
736
|
mkdir $INSTALL_DIR
|
736
|
737
|
fi
|
|
@@ -743,7 +744,6 @@ function time_synchronisation {
|
743
|
744
|
make install
|
744
|
745
|
cp /usr/local/bin/tlsdate* /usr/bin
|
745
|
746
|
cp /usr/local/sbin/tlsdate* /usr/bin
|
746
|
|
- systemctl start tlsdated.service
|
747
|
747
|
|
748
|
748
|
apt-get -y remove ntpdate
|
749
|
749
|
|