Преглед изворни кода

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