Skip to content

Commit 15dc0aa

Browse files
committed
check hash
1 parent c7d6c6b commit 15dc0aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Install/customize_firmware.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ check_download() {
118118
echo "Hash is okay" >> /root/install_customice.log
119119
break
120120
else
121-
# echo "Hash-Error"
121+
echo "$OUTPUT_FILE" | sha256sum >> /root/install_customice.log
122122
rm -f "$OUTPUT_FILE" && echo 'del file false Hash' >> /root/install_customice.log
123123
fi
124124
fi

customize_firmware.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ check_download() {
118118
echo "Hash is okay" >> /root/install_customice.log
119119
break
120120
else
121-
# echo "Hash-Error"
121+
echo "$OUTPUT_FILE" | sha256sum >> /root/install_customice.log
122122
rm -f "$OUTPUT_FILE" && echo 'del file false Hash' >> /root/install_customice.log
123123
fi
124124
fi

0 commit comments

Comments
 (0)