ports/net/freenet6/files/freenet6.sh.in
Edwin Groothuis 0cd4e5d065 Re-add files which were deleted due to some reason but still were
important. Somehow cvs(1) doesn't like "cvs remove" and "cvs add"
without a "cvs commit" in the middle"

Also removed empty patchfile.
2004-11-20 23:45:48 +00:00

26 lines
373 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# Start or stop the IPv6 tunnel to Freenet6.net
#
case "$1" in
start)
if [ -f @@PREFIX@@/etc/tspc.conf ]; then
@@PREFIX@@/bin/tspc -f @@PREFIX@@/etc/tspc.conf && \
echo -n " freenet6"
fi
;;
stop)
killall tspc && echo -n " freenet6"
;;
*)
echo ""
echo "Usage: `basename $0` { start | stop }"
echo ""
exit 64
;;
esac