#!/bin/sh

[[ $1 != between ]] && exit 0

cp -a *.img /mnt/firmware
cat *.md5 >> version.conf
mv version.conf /mnt/firmware

umount -l /mnt/firmware
