#!/bin/sh
kill-avarice
TMPDIR=/tmp
if [ -f /usr/bin/cygpath.exe ]; then
  TMPDIR=`cygpath -w $TMPDIR`
fi
if [ "$1" != "" ] ; then
  AVARICE_ARGS="$AVARICE_ARGS --erase -f $1"
fi
avarice $AVARICE_ARGS localhost:6423 --detach

