Browse Source

Tripwire final install

Bob Mottram 7 years ago
parent
commit
4ad9f08683
1 changed files with 0 additions and 15 deletions
  1. 0
    15
      src/freedombone-base-tripwire

+ 0
- 15
src/freedombone-base-tripwire View File

@@ -146,21 +146,6 @@ function install_tripwire {
146 146
 
147 147
        ' | twadmin --create-polfile -S /etc/tripwire/${HOSTNAME}-site.key /etc/tripwire/twpol.txt
148 148
 
149
-    # create the database
150
-    echo '
151
-
152
-' | tripwire --init --cfgfile /etc/tripwire/tw.cfg --polfile /etc/tripwire/tw.pol --dbfile /var/lib/tripwire/${HOSTNAME}.twd
153
-    if [ ! -f /var/lib/tripwire/${HOSTNAME}.twd ]; then
154
-        echo $'tripwire database was not created'
155
-        exit 72925
156
-    fi
157
-    # recreate the configuration
158
-    echo '
159
-
160
-
161
-
162
-       ' | reset-tripwire
163
-
164 149
     mark_completed $FUNCNAME
165 150
 }
166 151