diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index c7975152..f60cc0e7 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -1264,9 +1264,14 @@ function security_settings { function reset_tripwire { if [ ! -f /usr/bin/reset-tripwire ]; then + echo $'Missing /usr/bin/reset-tripwire' + any_key return fi - if [ ! -f /etc/tripwire/${PROJECT_NAME}.net-local.key ]; then + if [ ! -f /etc/tripwire/${HOSTNAME}-local.key ]; then + echo $'Error: missing local key' + any_key + return fi clear echo $'Resetting the Tripwire...'