1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/net/gateway6/files/gateway6.sh.in
Stefan Walter 5c87bbb0e2 - Update MASTER_SITES to make it fetchable. [2]
- Remove BEFORE tag from startup script. [1]
- Bump PORTREVISION.

PR:		116958 [1], 116961 [2]
Submitted by:	maintainer [1,2]
2007-10-06 11:34:27 +00:00

35 lines
584 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
#
# PROVIDE: gateway6
# REQUIRE: FILESYSTEMS netif
# KEYWORD: shutdown
#
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable the IPv6 tunnel to Freenet6.net:
#
# gateway6_enable (bool): Set to NO by default.
# Set it to YES to enable gateway6.
# gateway6_flags (flags): Set to "" by default.
#
. %%RC_SUBR%%
name="gateway6"
rcvar=`set_rcvar`
command=%%PREFIX%%/bin/gw6c
required_files=%%PREFIX%%/etc/gw6c.conf
load_rc_config $name
: ${gateway6_enable="NO"}
: ${gateway6_flags=""}
run_rc_command "$1"