fix HDD detection

This commit is contained in:
Christian Rotzoll
2019-08-05 20:05:14 +02:00
parent 62cec75b51
commit 72320444dd

View File

@@ -59,8 +59,8 @@ echo "then cancel (CTRL+c) and reboot."
ready=0
while [ ${ready} -eq 0 ]
do
found=$(lsblk | grep -c sdb)
if [ ${found} -eq 1 ]; then
found=$(lsblk | grep part | grep -c sdb)
if [ ${found} -gt 0 ]; then
echo "OK - 2nd HDD found as part of sdb"
ready=1
fi