|
@@ -377,11 +377,14 @@ function regenerate_dh_keys {
|
377
|
377
|
}
|
378
|
378
|
|
379
|
379
|
function reset_tripwire {
|
380
|
|
- if [[ $RESET_TRIPWIRE == "yes" ]]; then
|
381
|
|
- echo '
|
|
380
|
+ if [[ $RESET_TRIPWIRE != "yes" ]]; then
|
|
381
|
+ return
|
|
382
|
+ fi
|
|
383
|
+ clear
|
|
384
|
+ echo '
|
382
|
385
|
|
383
|
386
|
' | reset-tripwire
|
384
|
|
- fi
|
|
387
|
+ exit 0
|
385
|
388
|
}
|
386
|
389
|
|
387
|
390
|
function housekeeping {
|
|
@@ -408,6 +411,7 @@ function housekeeping {
|
408
|
411
|
;;
|
409
|
412
|
esac
|
410
|
413
|
done
|
|
414
|
+ reset_tripwire
|
411
|
415
|
}
|
412
|
416
|
|
413
|
417
|
function import_settings {
|
|
@@ -639,5 +643,4 @@ change_ssh_settings
|
639
|
643
|
change_xmpp_settings
|
640
|
644
|
regenerate_ssh_host_keys
|
641
|
645
|
regenerate_dh_keys
|
642
|
|
-reset_tripwire
|
643
|
646
|
exit 0
|