Browse Source

add more wait

v1.3
Christian Rotzoll 5 years ago
parent
commit
62cec75b51
  1. 2
      home.admin/50cloneHDD.sh

2
home.admin/50cloneHDD.sh

@ -71,7 +71,7 @@ echo "*** Mounting 2nd HDD ***"
sudo mkdir /mnt/genesis 2>/dev/null sudo mkdir /mnt/genesis 2>/dev/null
echo "try ext4 on sdb1 .." echo "try ext4 on sdb1 .."
sudo mount -t ext4 /dev/sdb1 /mnt/genesis sudo mount -t ext4 /dev/sdb1 /mnt/genesis
sleep 2 sleep 4
mountOK=$(lsblk | grep -c /mnt/genesis) mountOK=$(lsblk | grep -c /mnt/genesis)
if [ ${mountOK} -eq 0 ]; then if [ ${mountOK} -eq 0 ]; then
echo "try exfat on sdb1 .." echo "try exfat on sdb1 .."

Loading…
Cancel
Save