From 139bb371d0107638ff6d698a47e478ee2248e3f5 Mon Sep 17 00:00:00 2001 From: openoms Date: Sun, 19 Dec 2021 14:37:48 +0000 Subject: [PATCH] fixing typos including uasp-fix --- home.admin/_bootstrap.sh | 4 ++-- home.admin/config.scripts/blitz.datadrive.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/home.admin/_bootstrap.sh b/home.admin/_bootstrap.sh index 349dd24d5..e6b73e1cc 100755 --- a/home.admin/_bootstrap.sh +++ b/home.admin/_bootstrap.sh @@ -73,7 +73,7 @@ cat $infoFile >> $logFile # INIT RaspiBlitz Cache ######################### -echo "## INIT RaspiBlitz Cache ... wait background.scan.service to finsih first scan loop" >> $logFile +echo "## INIT RaspiBlitz Cache ... wait background.scan.service to finish first scan loop" >> $logFile systemscan_runtime="" while [ "${systemscan_runtime}" == "" ] do @@ -299,7 +299,7 @@ fi ################################## if [ -f "/var/cache/raspiblitz/hdd-inspect/raspiblitz.conf" ]; then - echo "check that display class in raspiblitz.conf from HDD is different from as it is ow in raspiblitz.info ..." >> $logFile + echo "check that display class in raspiblitz.conf from HDD is different from as it is now in raspiblitz.info ..." >> $logFile # get display class value from raspiblitz.info source <(cat ${infoFile} | grep "^displayClass=") diff --git a/home.admin/config.scripts/blitz.datadrive.sh b/home.admin/config.scripts/blitz.datadrive.sh index cbf08ac5b..6afb49c21 100755 --- a/home.admin/config.scripts/blitz.datadrive.sh +++ b/home.admin/config.scripts/blitz.datadrive.sh @@ -404,7 +404,7 @@ if [ "$1" = "status" ]; then fi - # HDD Adpater UASP support --> https://www.pragmaticlinux.com/2021/03/fix-for-getting-your-ssd-working-via-usb-3-on-your-raspberry-pi/ + # HDD Adapter UASP support --> https://www.pragmaticlinux.com/2021/03/fix-for-getting-your-ssd-working-via-usb-3-on-your-raspberry-pi/ # in both cases (if mounted or not - using the hdd selection from both cases) # only check if lsusb command is availabe if [ ${#hdd} -gt 0 ] && [ "$(type -t lsusb | grep -c file)" -gt 0 ]; then @@ -1794,7 +1794,7 @@ if [ "$1" = "uasp-fix" ]; then fi if [ ${usbQuirkDone} -eq 0 ]; then # add new usb-storage.quirks - sudo sed -i "1s/^/usb-storage.quirks=${hddAdapterUSB}:u /" /boot/cmdline.txt + sudo sed -i "s/^/usb-storage.quirks=${hddAdapterUSB}:u /" /boot/cmdline.txt # go into reboot to activate new setting echo "# DONE deactivating UASP for ${hddAdapterUSB} ... reboot needed" echo "neededReboot=1"