#!/bin/sh FILES="superdaemon superdaemon.ini app-prime-modbus app-prime-gui" PACK="${FILES}" for FILE in ${FILES} do md5sum ${FILE} | awk '{print $1}' > ${FILE}.md5 PACK="${PACK} ${FILE}.md5" done tar cf application.tar ${PACK} config cookbook history program run.sh sounds