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:
parent
b070135953
commit
42ef8f6f74
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user