Reset tripwire without the other menus

This commit is contained in:
Bob Mottram 2015-09-10 19:44:06 +01:00
parent 714e7a10ac
commit 52d9993181
1 changed files with 7 additions and 4 deletions

View File

@ -377,11 +377,14 @@ function regenerate_dh_keys {
}
function reset_tripwire {
if [[ $RESET_TRIPWIRE == "yes" ]]; then
if [[ $RESET_TRIPWIRE != "yes" ]]; then
return
fi
clear
echo '
' | reset-tripwire
fi
exit 0
}
function housekeeping {
@ -408,6 +411,7 @@ function housekeeping {
;;
esac
done
reset_tripwire
}
function import_settings {
@ -639,5 +643,4 @@ change_ssh_settings
change_xmpp_settings
regenerate_ssh_host_keys
regenerate_dh_keys
reset_tripwire
exit 0