1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/sh . /env/config part=/dev/nand0.root.bb if [ x$1 = x ]; then image=$jffs2 else image=$1 fi . /env/bin/_update $image