File: start-avarice

package info (click to toggle)
avarice 2.13%2Bsvn347-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,880 kB
  • sloc: cpp: 22,872; sh: 4,129; ansic: 1,134; makefile: 92
file content (11 lines) | stat: -rwxr-xr-x 225 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
#!/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