source: hybrid/branches/releng-9/nanobsd/ports/net/tproxy/files/tproxy.in

Last change on this file was 10612, checked in by rick, 14 years ago

Make port building whole bunch more stupid:

1) Bundle ports in the tree itself, instead of global shared banch.
2) Copy the local ports just in the /usr/ports tree to allow playing around

with just the ordenary tools.

  • Property svn:executable set to *
File size: 393 bytes
Line 
1#!/bin/sh
2#
3# $FreeBSD: $
4#
5
6# PROVIDE: tproxy
7# REQUIRE: NETWORKING SERVERS
8# BEFORE: DAEMON
9# KEYWORD: shutdown
10
11#
12# Add the following line to /etc/rc.conf to enable tproxy:
13#
14# tproxy_enable="YES"
15#
16
17. %%RC_SUBR%%
18
19name=tproxy
20rcvar=`set_rcvar`
21
22command=%%PREFIX%%/bin/${name}
23
24tproxy_enable=${tproxy_enable:-"NO"}
25tproxy_flags=${tproxy_flags:-""}
26
27load_rc_config $name
28run_rc_command "$1"
Note: See TracBrowser for help on using the repository browser.