mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-19 12:10:33 +02:00
Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev
This commit is contained in:
@@ -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=")
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user