fix rauc name

This commit is contained in:
Pascal Vizeli
2018-06-21 15:49:37 +02:00
committed by GitHub
parent 3aaadf3f5f
commit e30e15dc53

View File

@@ -41,10 +41,10 @@ fi
##
# Firmware update
if ls /mnt/config/*.rauc > /dev/null; then
if ls /mnt/config/*.raucb > /dev/null; then
echo "[Info] Performe a firmware update"
rauc_filename=$(ls /mnt/config/*.rauc | head -n 1)
rauc_filename=$(ls /mnt/config/*.raucb | head -n 1)
rauc install /mnt/config/$rauc_filename
fi