Provide option to skip reboot after setup completes

This commit is contained in:
Jason Ertel
2020-05-28 10:20:39 -04:00
parent c775e583dd
commit 6c4946f4e2
3 changed files with 8 additions and 5 deletions

View File

@@ -193,7 +193,7 @@ check_admin_pass() {
check_pass_match "$ADMINPASS1" "$ADMINPASS2" "APMATCH"
}
check_hive_init_then_reboot() {
check_hive_init() {
wait_for_file /opt/so/state/thehive.txt 20 5
local return_val=$?
@@ -203,7 +203,6 @@ check_hive_init_then_reboot() {
docker stop so-thehive
docker rm so-thehive
shutdown -r now
}
check_network_manager_conf() {