Skip to content

Commit

Permalink
Force sync post-update
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexxeh committed Apr 21, 2012
1 parent 32077fa commit d44a5a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpi-update
Expand Up @@ -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"
Expand All @@ -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

0 comments on commit d44a5a3

Please sign in to comment.