|
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 |
|
|---|
| 19 | name=tproxy
|
|---|
| 20 | rcvar=`set_rcvar`
|
|---|
| 21 |
|
|---|
| 22 | command=%%PREFIX%%/bin/${name}
|
|---|
| 23 |
|
|---|
| 24 | tproxy_enable=${tproxy_enable:-"NO"}
|
|---|
| 25 | tproxy_flags=${tproxy_flags:-""}
|
|---|
| 26 |
|
|---|
| 27 | load_rc_config $name
|
|---|
| 28 | run_rc_command "$1"
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.