#!/bin/bash if [ -d cd ]; then cd cd md5sum `find -follow -type f` | tee md5sum.txt cd .. genisoimage -o $1 -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -b isolinux/isolinux.bin -c isolinux/boot.cat ./cd else echo "wat error (cd directory not found)" fi