diff --git a/firmware-util.sh b/firmware-util.sh index d4ef3aa623b91365c497eea7b708dc1242bb3299..25f75af73cbf79a4dda0680b2e0a241771f2cca4 100644 --- a/firmware-util.sh +++ b/firmware-util.sh @@ -12,7 +12,7 @@ # #where the stuff is -script_url="https://gitee.com/fydeos_fyde/mr-chromebox-scripts/raw/master/" +script_url="https://gitee.com/fydeosgitbot/mr-chromebox-scripts/raw/master/" #ensure output of system tools in en-us for parsing export LC_ALL=C @@ -27,16 +27,21 @@ else fi #get support scripts -echo -e "\nDownloading supporting files..." +echo -e "\nCurrent working directory is:\n\n" +pwd +echo -e "\nDownloading supporting files from mirror site..." rm -rf firmware.sh >/dev/null 2>&1 rm -rf functions.sh >/dev/null 2>&1 rm -rf sources.sh >/dev/null 2>&1 curl -sLO ${script_url}firmware.sh rc0=$? +echo -e "\nDownloading firmware.sh from mirror site..." curl -sLO ${script_url}functions.sh rc1=$? +echo -e "\nDownloading functions.sh from mirror site..." curl -sLO ${script_url}sources.sh rc2=$? +echo -e "\nDownloading sources.sh from mirror site..." if [[ $rc0 -ne 0 || $rc1 -ne 0 || $rc2 -ne 0 ]]; then echo -e "Error downloading one or more required files; cannot continue" exit 1 diff --git a/firmware.sh b/firmware.sh index fb4e812fc2a435be738e6dde203b38df0a8b1b81..6cdc44379f48926fb03e69f6b3581943f7e205e0 100644 --- a/firmware.sh +++ b/firmware.sh @@ -1224,8 +1224,8 @@ function menu_fwupdate() { function show_header() { printf "\ec" echo -e "${MENU}*********************************************************${NORMAL}" - echo -e "${NORMAL} Modified and mirrored by Fyde Innovations (c) ${script_date} ${NORMAL}" - echo -e "${NORMAL} ONLY INTENDED FOR CHROMEBOOK PIEXL 2013 ${NORMAL}" + echo -e "${NORMAL}\n Modified and mirrored by Fyde Innovations ${script_date} ${NORMAL}" + echo -e "${NORMAL} ONLY INTENDED FOR CHROMEBOOK PIXEL 2013 \n${NORMAL}" echo -e "${MENU}*********************************************************${NORMAL}" echo -e "${NORMAL}\n ChromeOS Device Firmware Utility Script ${script_date} ${NORMAL}" echo -e "${NORMAL} (c) Mr Chromebox ${NORMAL}"