3 if [ -z "$part" -o -z "$image" ]; then
4 echo "define \$part and \$image"
8 if [ ! -e "$part" ]; then
9 echo "Partition $part does not exist"
17 if [ x
$ip = xdhcp
]; then
22 if [ $?
-ne 0 ] ; then
30 echo "erasing partition $part"
34 echo "flashing $image to $part"