Sfoglia il codice sorgente

Merge branch 'stretch' of https://github.com/bashrc/freedombone

Bob Mottram 7 anni fa
parent
commit
2b485eeb7d
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2
    0
      src/freedombone-base-tripwire

+ 2
- 0
src/freedombone-base-tripwire Vedi File

115
     fi
115
     fi
116
     # Avoid logging the changed database
116
     # Avoid logging the changed database
117
     sed -i 's|$(TWETC)/tw.pol.*||g' /etc/tripwire/twpol.txt
117
     sed -i 's|$(TWETC)/tw.pol.*||g' /etc/tripwire/twpol.txt
118
+    # site key name
119
+    sed -i 's|$(TWETC)/site.key|$(TWETC)/$(HOSTNAME)-site.key|g' /etc/tripwire/twpol.txt
118
     # create the policy
120
     # create the policy
119
     echo '
121
     echo '
120
 
122