[fix][wip] Add reinstall_init function

Create a function that, if the setup log exists, puts the system into a state where
the installer can run again without issue.

This is WIP, there are most likely still issues.
This commit is contained in:
William Wernert
2020-11-03 14:51:35 -05:00
parent 033f5dbb9c
commit 00fc256c37
2 changed files with 22 additions and 1 deletions

View File

@@ -57,6 +57,10 @@ done
# Begin Installation pre-processing
parse_install_username
if [[ -f $setup_log ]]; then
reinstall_init
fi
title "Initializing Setup"
info "Installing as the $INSTALLUSERNAME user"