Parcourir la source

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

Bob Mottram il y a 8 ans
Parent
révision
87ea6e3408
1 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. 6
    1
      src/freedombone-controlpanel

+ 6
- 1
src/freedombone-controlpanel Voir le fichier

1264
 
1264
 
1265
 function reset_tripwire {
1265
 function reset_tripwire {
1266
     if [ ! -f /usr/bin/reset-tripwire ]; then
1266
     if [ ! -f /usr/bin/reset-tripwire ]; then
1267
+        echo $'Missing /usr/bin/reset-tripwire'
1268
+        any_key
1267
         return
1269
         return
1268
     fi
1270
     fi
1269
-    if [ ! -f /etc/tripwire/${PROJECT_NAME}.net-local.key ]; then
1271
+    if [ ! -f /etc/tripwire/${HOSTNAME}-local.key ]; then
1272
+        echo $'Error: missing local key'
1273
+        any_key
1274
+        return
1270
     fi
1275
     fi
1271
     clear
1276
     clear
1272
     echo $'Resetting the Tripwire...'
1277
     echo $'Resetting the Tripwire...'