Searched refs:md5_chk (Results 1 - 4 of 4) sorted by relevance

/netgear-R7800-V1.0.2.28/target/linux/atheros/base-files/lib/upgrade/
H A Dplatform.sh40 local md5_chk=$(dd if="$1" bs=$CI_BLKSZ skip=1 2>/dev/null | md5sum -); md5_chk="${md5_chk%% *}"
42 if [ -n "$md5_img" -a -n "$md5_chk" ] && [ "$md5_img" = "$md5_chk" ]; then
45 echo "Invalid image. Contents do not match checksum (image:$md5_img calculated:$md5_chk)"
/netgear-R7800-V1.0.2.28/target/linux/ar71xx/base-files/lib/upgrade/
H A Ddir825.sh107 local md5_chk=$(dd if="$1" bs=64k skip=1 2>/dev/null | md5sum -); md5_chk="${md5_chk%% *}"
119 if [ -z "$md5_img" -o -z "$md5_chk" ]; then
124 if [ "$md5_img" != "$md5_chk" ]; then
125 echo "Invalid image. Contents do not match checksum (image:$md5_img calculated:$md5_chk)"
H A Dplatform.sh238 local md5_chk=$(dd if="$1" bs=$CI_BLKSZ skip=1 2>/dev/null | md5sum -); md5_chk="${md5_chk%% *}"
240 if [ -n "$md5_img" -a -n "$md5_chk" ] && [ "$md5_img" = "$md5_chk" ]; then
243 echo "Invalid image. Contents do not match checksum (image:$md5_img calculated:$md5_chk)"
/netgear-R7800-V1.0.2.28/target/linux/cns3xxx/base-files/lib/upgrade/
H A Dplatform.sh82 local md5_chk=$(dd if="$1" bs=$CI_BLKSZ skip=1 2>/dev/null | md5sum -); md5_chk="${md5_chk%% *}"
84 if [ -n "$md5_img" -a -n "$md5_chk" ] && [ "$md5_img" = "$md5_chk" ]; then
87 echo "Invalid image. Contents do not match checksum (image:$md5_img calculated:$md5_chk)"

Completed in 29 milliseconds