From 4a3494de18227603d042d69470b73a4612a8f675 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Sun, 28 Jan 2018 15:52:48 +0100 Subject: [PATCH] Sync before forced reboot --- addon/lib/rmupdate.tcl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addon/lib/rmupdate.tcl b/addon/lib/rmupdate.tcl index d1df189..f318f7c 100644 --- a/addon/lib/rmupdate.tcl +++ b/addon/lib/rmupdate.tcl @@ -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 } }