armbian-next: interactive: review -t 0 instead of -t 1; move non-interactive check_basic_host() from prepare-host to config-prepare, for consistency

This commit is contained in:
Ricardo Pardini
2023-01-27 22:33:39 +01:00
parent 41d7d0155e
commit fa666aa3d4
3 changed files with 7 additions and 8 deletions

View File

@@ -6,11 +6,6 @@
# * changes system settings
#
function prepare_host() {
# Now, if NOT interactive, do some basic checks. If interactive, those have already run back in prep_conf_main_build_single()
if [[ ! -t 1 ]]; then
LOG_SECTION="ni_check_basic_host" do_with_logging check_basic_host
fi
LOG_SECTION="prepare_host_noninteractive" do_with_logging prepare_host_noninteractive
return 0
}