From 553e4a0462416b06932d4c6da653bc10f8302387 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Tue, 23 Aug 2011 09:50:13 +0200 Subject: [PATCH] core51: add some sync's after update. --- config/rootfiles/core/51/update.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config/rootfiles/core/51/update.sh b/config/rootfiles/core/51/update.sh index 201c2db4a0..58a47da0d3 100644 --- a/config/rootfiles/core/51/update.sh +++ b/config/rootfiles/core/51/update.sh @@ -143,6 +143,11 @@ perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang" # rm -rf /etc/sysconfig/lm_sensors +# Ensure that all data was written... +sync +sync +sync + # Reboot message to console /usr/bin/logger -p syslog.emerg -t core-upgrade-51 "Upgrade finished. If you use a customized grub.cfg" /usr/bin/logger -p syslog.emerg -t core-upgrade-51 "Check it before reboot !!!" @@ -155,5 +160,12 @@ touch /var/run/need_reboot #Finish /etc/init.d/fireinfo start sendprofile + +# Ensure that all data was written... +sync +sync +sync + +# #Don't report the exitcode last command exit 0 -- 2.39.2