#!/bin/sh # start brood with defaults for unix systems # this is a temp hack for the forthtv workshop STATE=prj/CATkit/monitor.state INTERFACE=badnop-snot # linux start file: make a bat file for windows cd `dirname $0` # start once. if exit code == 0 -> don't restart mzc -k brood/pic18.ss || exit 1 ./console-pic18.ss $STATE $INTERFACE || exit 0 # restart echo restarting "$0" "$@" exec "$0" "$@"