mirror of
https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
synced 2023-10-10 13:37:40 +02:00
Sync before forced reboot
This commit is contained in:
parent
8706ae02d6
commit
4a3494de18
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user