mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 06:00:30 -04:00
Freenet6 Tunnel is an IPv6 access service which enables thousands of people from all over the world to experience the best solution for a smooth and incremental deployment of IPv6. Freenet6 Tunnel users can get IPv6 connectivity from anywhere, including from behind any NAT device or from outside of their home network. WWW: http://gogonet.gogo6.com/page/freenet6-services Two similar PRs were sent for the port, take the first one with some modifications from the second one. Tomaz will be the maintainer. patch-env by rene@ PR: ports/147944, ports/149682 Submitted by: Tomaz Muraus [kami 5-storitve.net] , Andrey [drurus gmail.com]
31 lines
599 B
Bash
31 lines
599 B
Bash
#!/bin/sh
|
|
|
|
# PROVIDE: gogoc
|
|
# REQUIRE: NETWORK
|
|
#
|
|
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
|
|
# to enable this service:
|
|
#
|
|
# gogoc_enable (bool): Set to NO by default.
|
|
# Set it to YES to enable gogoc.
|
|
#
|
|
# Additional configurable variables:
|
|
# gogoc_config (path): Set to %%LOCALBASE%%/etc/gogoc.conf
|
|
# by default.
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="gogoc"
|
|
rcvar=${name}_enable
|
|
|
|
command=%%LOCALBASE%%/bin/${name}
|
|
|
|
load_rc_config $name
|
|
|
|
: ${gogoc_enable="NO"}
|
|
: ${gogoc_config="%%LOCALBASE%%/etc/gogoc.conf"}
|
|
|
|
command_args="-f $gogoc_config"
|
|
|
|
run_rc_command "$1"
|
|
|