1
0
mirror of https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git synced 2023-10-10 13:37:40 +02:00

Force reboot if recovery system is used for firmware update

This commit is contained in:
Jan Schneider 2018-04-26 22:40:19 +02:00
parent b070135953
commit 42ef8f6f74

View File

@ -1315,6 +1315,7 @@ proc ::rmupdate::install_firmware {{download_url ""} {version ""} {lang ""} {reb
file copy -force $firmware_image "${tmp_dir}/new_firmware.img"
}
catch { exec ln -sf "${tmp_dir}/new_firmware.img" /usr/local/.firmwareUpdate }
set reboot 1
}
} else {
check_sizes $firmware_image