#!/bin/sh
if [ $# -lt 1 ]; then
	echo "No target file name !"
	echo "Usage: backupfs filename"
	exit 0
fi
echo "Now backup the file system. Please wait ..."
cat /dev/mtd3 > $1
echo "Backup the file system OK."
