Browse Source

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

Bob Mottram 8 years ago
parent
commit
87ea6e3408
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      src/freedombone-controlpanel

+ 6
- 1
src/freedombone-controlpanel View File

@@ -1264,9 +1264,14 @@ function security_settings {
1264 1264
 
1265 1265
 function reset_tripwire {
1266 1266
     if [ ! -f /usr/bin/reset-tripwire ]; then
1267
+        echo $'Missing /usr/bin/reset-tripwire'
1268
+        any_key
1267 1269
         return
1268 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 1275
     fi
1271 1276
     clear
1272 1277
     echo $'Resetting the Tripwire...'