瀏覽代碼

Try to avoid user interaction on installing tripwire

Bob Mottram 9 年之前
父節點
當前提交
e43611da50
共有 1 個文件被更改,包括 4 次插入6 次删除
  1. 4
    6
      src/freedombone

+ 4
- 6
src/freedombone 查看文件

11289
   apt-get -y autoremove
11289
   apt-get -y autoremove
11290
   cd /etc/tripwire
11290
   cd /etc/tripwire
11291
   cp site.key $DEFAULT_DOMAIN_NAME-site.key
11291
   cp site.key $DEFAULT_DOMAIN_NAME-site.key
11292
-  echo ''
11293
-  echo ''
11294
-  echo '*** Installing intrusion detection. Press Enter when asked for the local and site passphrases. ***'
11295
-  echo ''
11296
-  echo ''
11297
-  tripwire --init
11292
+  echo '*** Installing intrusion detection ***'
11293
+  echo '
11294
+
11295
+' | tripwire --init
11298
 
11296
 
11299
   # make a script for easy resetting of the tripwire
11297
   # make a script for easy resetting of the tripwire
11300
   echo '#!/bin/sh' > /usr/bin/reset-tripwire
11298
   echo '#!/bin/sh' > /usr/bin/reset-tripwire