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"
|
file copy -force $firmware_image "${tmp_dir}/new_firmware.img"
|
||||||
}
|
}
|
||||||
catch { exec ln -sf "${tmp_dir}/new_firmware.img" /usr/local/.firmwareUpdate }
|
catch { exec ln -sf "${tmp_dir}/new_firmware.img" /usr/local/.firmwareUpdate }
|
||||||
|
set reboot 1
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
check_sizes $firmware_image
|
check_sizes $firmware_image
|
||||||
|
|
Loading…
Reference in New Issue