From: ian Date: Fri, 1 Sep 2006 17:56:56 +0000 (+0000) Subject: script to reprogram santa-fe X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=f2ae383c5a6ffc77346613525e5fff8a4615fc6c;p=trains.git script to reprogram santa-fe --- diff --git a/hostside/reprogram b/hostside/reprogram new file mode 100755 index 0000000..0203f85 --- /dev/null +++ b/hostside/reprogram @@ -0,0 +1,54 @@ +#!/bin/bash + +set -e + +fail () { echo >&2 "$0: error: $*"; exit 1; } + +if [ $# != 2 ]; then cat >&2 <