浏览代码

tlsdate is already in jessie anyhow

Bob Mottram 10 年前
父节点
当前提交
bf96206149
共有 1 个文件被更改,包括 1 次插入9 次删除
  1. 1
    9
      install-freedombone.sh

+ 1
- 9
install-freedombone.sh 查看文件

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