#!/bin/sh . /env/config part=/dev/nand0.root.bb if [ x$1 = x ]; then image=$jffs2 else image=$1 fi . /env/bin/_update $image