mirror of
https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
synced 2023-10-10 11:37:40 +00:00
Sync before forced reboot
This commit is contained in:
@@ -749,7 +749,8 @@ proc ::rmupdate::install_firmware_version {version lang {reboot 1} {dryrun 0}} {
|
||||
after 5000
|
||||
|
||||
if {$reboot && !$dryrun} {
|
||||
exec /sbin/reboot
|
||||
exec /bin/sync
|
||||
exec /sbin/reboot -f
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user