From efdab385303153f11b1a4ce2c53e80ecad93ffae Mon Sep 17 00:00:00 2001 From: cimryan Date: Fri, 2 Nov 2018 19:47:29 -0700 Subject: [PATCH] Move the verification of the available space just after the verification of the variables. --- setup/pi/setup-teslausb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/pi/setup-teslausb b/setup/pi/setup-teslausb index 460e8f2..9faa514 100644 --- a/setup/pi/setup-teslausb +++ b/setup/pi/setup-teslausb @@ -197,13 +197,13 @@ setup_progress "Verifying environment variables..." check_variable "campercent" +check_available_space + # Flash for Stage 3 headless (grab scripts) headless_setup_progress_flash 2 setup_progress "Downloading additional setup scripts." -check_available_space - get_ancillary_setup_scripts pushd ~