mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 06:56:29 +00:00
fix rauc name
This commit is contained in:
parent
3aaadf3f5f
commit
e30e15dc53
@ -41,10 +41,10 @@ fi
|
|||||||
|
|
||||||
##
|
##
|
||||||
# Firmware update
|
# Firmware update
|
||||||
if ls /mnt/config/*.rauc > /dev/null; then
|
if ls /mnt/config/*.raucb > /dev/null; then
|
||||||
echo "[Info] Performe a firmware update"
|
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
|
rauc install /mnt/config/$rauc_filename
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user