#!/bin/sh [ "x$1" == "x"] && { echo "Usage: $0 hard-disk-device" exit 1 } # uncomment line below and set to the correct disk disk=$1 workarea="." stage1File=$workarea/stage1.wrapped ubootFile=$workarea/u-boot.wrapped ubootenvFile=$workarea/u-boot.env perl <