Browse Source

Try to avoid user interaction on installing tripwire

Bob Mottram 9 years ago
parent
commit
e43611da50
1 changed files with 4 additions and 6 deletions
  1. 4
    6
      src/freedombone

+ 4
- 6
src/freedombone View File

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