]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core51: add some sync's after update. core51
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 23 Aug 2011 07:50:13 +0000 (09:50 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 23 Aug 2011 07:50:13 +0000 (09:50 +0200)
config/rootfiles/core/51/update.sh

index 201c2db4a0abcf204efcfdbcf15b3f61f03035b3..58a47da0d3e33b4b49ff5d72a70c3d106f844429 100644 (file)
@@ -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