projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding debian version 4.0~a1-1.
[live-boot-grml.git]
/
scripts
/
boot
/
3010-verify-checksums
diff --git
a/scripts/boot/3010-verify-checksums
b/scripts/boot/3010-verify-checksums
index
08b2972
..
8ccd663
100755
(executable)
--- a/
scripts/boot/3010-verify-checksums
+++ b/
scripts/boot/3010-verify-checksums
@@
-38,29
+38,26
@@
Verify_checksums ()
for _DIGEST in $(echo ${LIVE_VERIFY_CHECKSUMS_DIGESTS} | sed -e 's|,| |g')
do
for _DIGEST in $(echo ${LIVE_VERIFY_CHECKSUMS_DIGESTS} | sed -e 's|,| |g')
do
- _CHECKSUMS="$(echo ${_DIGEST} | tr [a-z] [A-Z])SUMS
${_DIGEST}sum.txt
"
+ _CHECKSUMS="$(echo ${_DIGEST} | tr [a-z] [A-Z])SUMS"
- for _CHECKSUM in ${_CHECKSUMS}
- do
- if [ -e "${_CHECKSUM}" ]
- then
- echo "Found ${_CHECKSUM}..." > "${_TTY}"
+ if [ -e "${_CHECKSUMS}" ]
+ then
+ echo "Found ${_CHECKSUMS}..." > "${_TTY}"
-
if [ -e "/bin/${_DIGEST}sum" ]
-
then
-
echo "Checking ${_CHECKSUM
}..." > "${_TTY}"
+ if [ -e "/bin/${_DIGEST}sum" ]
+ then
+
echo "Checking ${_CHECKSUMS
}..." > "${_TTY}"
-
# Verify checksums
-
/bin/${_DIGEST}sum -c "${_CHECKSUM
}" < "${_TTY}" > "${_TTY}"
-
_RETURN="${?}"
+ # Verify checksums
+
/bin/${_DIGEST}sum -c "${_CHECKSUMS
}" < "${_TTY}" > "${_TTY}"
+ _RETURN="${?}"
- # Stop after first verification
- break
- else
- echo "Not found /bin/${_DIGEST}sum..." > "${_TTY}"
- fi
+ # Stop after first verification
+ break
+ else
+ echo "Not found /bin/${_DIGEST}sum..." > "${_TTY}"
fi
fi
- done
+ fi
done
log_end_msg
done
log_end_msg