generate_checksum.sh 250 B

12345678910
  1. #!/bin/bash
  2. #set release date before generation
  3. date > SD_ROOT/wz_mini/usr/bin/app.ver
  4. rm -f file.chk
  5. find SD_ROOT/ -type f -exec md5sum "{}" + > file.chk
  6. #Ignore demo.bin
  7. find v2_install -type f ! -name "demo.bin" -exec md5sum "{}" + >> file.chk