Reset tripwire without the other menus
This commit is contained in:
parent
714e7a10ac
commit
52d9993181
|
@ -377,11 +377,14 @@ function regenerate_dh_keys {
|
|||
}
|
||||
|
||||
function reset_tripwire {
|
||||
if [[ $RESET_TRIPWIRE == "yes" ]]; then
|
||||
echo '
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue