tlsdate is already in jessie anyhow

This commit is contained in:
Bob Mottram 2014-09-21 13:46:37 +01:00
parent 628bc28d06
commit bf96206149
1 changed files with 1 additions and 9 deletions

View File

@ -247,16 +247,8 @@ function time_synchronisation {
if grep -Fxq "time_synchronisation" $COMPLETION_FILE; then
return
fi
apt-get -y install build-essential automake git pkg-config autoconf libtool libssl-dev libevent-dev
apt-get -y install tlsdate
apt-get -y remove ntpdate
mkdir $INSTALL_DIR
cd $INSTALL_DIR
git clone https://github.com/ioerror/tlsdate.git
cd $INSTALL_DIR/tlsdate
./autogen.sh
./configure
make
make install
echo '#!/bin/bash' > /usr/bin/updatedate
echo 'TIMESOURCE=google.com' >> /usr/bin/updatedate