More work on sha256sum
This commit is contained in:
@@ -389,6 +389,7 @@ verifyImage() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for file in "$FACTORYIMGGZ" "$SYSUPGRADEIMGGZ"; do
|
for file in "$FACTORYIMGGZ" "$SYSUPGRADEIMGGZ"; do
|
||||||
|
debug "file: $file"
|
||||||
[[ -f $file ]] || break
|
[[ -f $file ]] || break
|
||||||
checksum=$(grep "${file##*/}" "$SHA256_FILE" | cut -f1 -d' ')
|
checksum=$(grep "${file##*/}" "$SHA256_FILE" | cut -f1 -d' ')
|
||||||
debug "checksum: $checksum"
|
debug "checksum: $checksum"
|
||||||
|
|||||||
Reference in New Issue
Block a user