cd /var; \ for i in 0 1 2 3 4 5 6 7 8; do dd if=/dev/mtdblock/$i of=/var/mtd${i}_`cat /proc/mtd|grep mtd$i|cut -d\\" -f2`; tftp -p -l mtd${i}_`cat /proc/mtd|grep mtd$i|cut -d\\" -f2` 192.168.15.101; sleep 1; rm mtd${i}_`cat /proc/mtd|grep mtd$i|cut -d\\" -f2`; done # busybox BusyBox v0.61.pre (2005.10.13-02:25+0000) multi-call binary Usage: busybox [function] [arguments]... or: [function] [arguments]... BusyBox is a multi-call binary that combines many common Unix utilities into a single executable. Most people will create a link to busybox for each function they wish to use, and BusyBox will act like whatever it was invoked as. Currently defined functions: [, ash, busybox, cat, chgrp, chmod, chown, cp, cut, date, dd, df, echo, env, false, free, grep, hostname, id, ifconfig, init, insmod, kill, ln, login, ls, lsmod, mkdir, modprobe, mount, mv, passwd, ping, ps, pwd, reboot, rm, rmmod, route, sh, sleep, sync, tar, test, tftp, touch, traceroute, true, tty, umount, whoami, yes