mirror of
https://git.freebsd.org/ports.git
synced 2025-06-27 07:30:32 -04:00
important. Somehow cvs(1) doesn't like "cvs remove" and "cvs add" without a "cvs commit" in the middle" Also removed empty patchfile.
26 lines
373 B
Bash
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
|