correct path to sdcard files

pull/411/head
Paul Philippov 2022-08-25 15:15:39 -04:00
parent 26599e916a
commit 1274cf97c4
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ check_sdcard() {
echo_c 33 "\nUnmounting SD card"
stoplist="autoupdate-kernel.img autoupdate-rootfs.img autoupdate-uboot.img"
while [ -n "$(mount | grep /mnt/mmc)" ]; do
_d=$(mount | grep /mnt/mmc | tail -1 | awk '{print $1}')
_d=$(mount | grep /mnt/mmc | tail -1 | awk '{print $3}')
echo_c 34 "$_d"
for _f in $stoplist; do
echo "- checking for ${_d}/${_f}"