diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install.sh | 1 | ||||
-rwxr-xr-x | scripts/md5sum | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index eadb61869..926c03b6b 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -157,6 +157,7 @@ if [ $rb532 -ne 0 ];then $sfdisk --change-id $1 1 27 $sfdisk --change-id $1 3 88 dd if=$3 of=${1}1 + sync else rootpart=${1}1 if [ $cfgfs -eq 0 ];then diff --git a/scripts/md5sum b/scripts/md5sum index 6a95a4707..24e1e9fac 100755 --- a/scripts/md5sum +++ b/scripts/md5sum @@ -2,8 +2,8 @@ # This file is part of the OpenADK project. OpenADK is copyrighted # material, please see the LICENCE file in the top-level directory. -if [ -x /usr/bin/md5sum ];then - md5sum "$@" +if [ -x /usr/bin/md5sum ]; then + /usr/bin/md5sum "$@" else md5 "$@" | sed 's#MD5 (\([^)]*\)) = \(.*\)#\2 \1#' fi |