mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 20:42:41 +02:00
fix HDD detection
This commit is contained in:
@@ -59,8 +59,8 @@ echo "then cancel (CTRL+c) and reboot."
|
|||||||
ready=0
|
ready=0
|
||||||
while [ ${ready} -eq 0 ]
|
while [ ${ready} -eq 0 ]
|
||||||
do
|
do
|
||||||
found=$(lsblk | grep -c sdb)
|
found=$(lsblk | grep part | grep -c sdb)
|
||||||
if [ ${found} -eq 1 ]; then
|
if [ ${found} -gt 0 ]; then
|
||||||
echo "OK - 2nd HDD found as part of sdb"
|
echo "OK - 2nd HDD found as part of sdb"
|
||||||
ready=1
|
ready=1
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user