1
0
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:
Jan Schneider 2018-01-28 15:52:48 +01:00
parent 8706ae02d6
commit 4a3494de18

View File

@ -749,7 +749,8 @@ proc ::rmupdate::install_firmware_version {version lang {reboot 1} {dryrun 0}} {
after 5000 after 5000
if {$reboot && !$dryrun} { if {$reboot && !$dryrun} {
exec /sbin/reboot exec /bin/sync
exec /sbin/reboot -f
} }
} }