diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2004-11-20 23:45:48 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2004-11-20 23:45:48 +0000 |
commit | 0cd4e5d065ad83fe5b9c10dd9085453315001df4 (patch) | |
tree | 790c580acef6f45dca8537dd4846ef2e47c9283f /net | |
parent | 84a19a7e143edadd3a2272ebb1fdddbb1f939b3a (diff) |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/freenet6/files/freenet6.sh.in | 26 | ||||
-rw-r--r-- | net/freenet6/files/patch-src::tsp::tsp_setup.c | 0 | ||||
-rw-r--r-- | net/freenet6/files/pkg-message.in | 7 |
3 files changed, 33 insertions, 0 deletions
diff --git a/net/freenet6/files/freenet6.sh.in b/net/freenet6/files/freenet6.sh.in new file mode 100644 index 000000000000..e61408f83a7c --- /dev/null +++ b/net/freenet6/files/freenet6.sh.in @@ -0,0 +1,26 @@ +#!/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 diff --git a/net/freenet6/files/patch-src::tsp::tsp_setup.c b/net/freenet6/files/patch-src::tsp::tsp_setup.c deleted file mode 100644 index e69de29bb2d1..000000000000 --- a/net/freenet6/files/patch-src::tsp::tsp_setup.c +++ /dev/null diff --git a/net/freenet6/files/pkg-message.in b/net/freenet6/files/pkg-message.in new file mode 100644 index 000000000000..c9f0d486407f --- /dev/null +++ b/net/freenet6/files/pkg-message.in @@ -0,0 +1,7 @@ +Now that the package is installed, please finish it with the following steps: + +- Copy @@EXAMPLESDIR@@/tspc.conf.sample to @@PREFIX@@/etc/tspc.conf +- Check the values of @@PREFIX@@/etc/tspc.conf. If you have registered at + the website, fill in your userid and password there. +- Run @@PREFIX@@/etc/rc.d/freenet6.sh to start the tunnel. +- Try to ping a IPv6 host, for example: ping6 www.jp.freebsd.org |