From d44a5a32bcef03cbe7f6c139155869dc6677bfda Mon Sep 17 00:00:00 2001 From: Liam McLoughlin Date: Sat, 21 Apr 2012 15:36:50 +0100 Subject: [PATCH] Force sync post-update --- rpi-update | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpi-update b/rpi-update index b98fee1..fbee32c 100755 --- a/rpi-update +++ b/rpi-update @@ -37,6 +37,7 @@ if $($GITCMD rev-parse &> /dev/null); then cp ${FW_PATH}/arm${FW_RAM}_start.elf ${FW_PATH}/start.elf cp -R ${FW_PATH}/modules/* /lib/modules/ do_depmod + sync echo "If no errors appeared, your firmware was successfully updated" else echo "We're running for the first time" @@ -53,6 +54,7 @@ else do_depmod cp ${FW_PATH}.bak/*.txt ${FW_PATH}/ &> /dev/null cp ${FW_PATH}/arm${FW_RAM}_start.elf ${FW_PATH}/start.elf + sync echo "If no errors appeared, your firmware was successfully setup" fi fi