File: start-avarice

package info (click to toggle)
avarice 2.14%2Bsvn427-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,364 kB
  • sloc: cpp: 23,577; ansic: 1,135; makefile: 96; sh: 48; python: 26
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