From 965b3533a41a1c1aa27b5266315e09bc8dd84189 Mon Sep 17 00:00:00 2001 From: Richard Goodwin Date: Fri, 26 Oct 2018 12:50:01 -0500 Subject: [PATCH] More logging in getting scripts --- setup/pi/setup-teslausb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup/pi/setup-teslausb b/setup/pi/setup-teslausb index 5c9ca79..cf2690a 100644 --- a/setup/pi/setup-teslausb +++ b/setup/pi/setup-teslausb @@ -132,8 +132,10 @@ function get_script () { local name="$2" local remote_path="${3:-}" - wget -O "$local_path/$name" https://raw.githubusercontent.com/"$REPO"/teslausb/"$BRANCH"/"$remote_path"/"$name" + curl -o "$local_path/$name" https://raw.githubusercontent.com/"$REPO"/teslausb/"$BRANCH"/"$remote_path"/"$name" + # wget -O "$local_path/$name" https://raw.githubusercontent.com/"$REPO"/teslausb/"$BRANCH"/"$remote_path"/"$name" chmod +x "$local_path/$name" + setup_progress "Downloaded $local_path/$name ..." } function get_ancillary_setup_scripts () { @@ -285,6 +287,8 @@ check_pushover_enabled # Flash for Stage 3 headless (grab scripts) headless_setup_progress_flash 2 +setup_progress "Downloading additional setup scripts." + if [ ! -e /root/bin ] then mkdir /root/bin