View | Details | Raw Unified | Return to bug 118089 | Differences between
and this patch

Collapse All | Expand All

(-)dnsproxy/files/dnsproxy.in (+32 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
6
# PROVIDE: dnsproxy
7
# REQUIRE: NETWORKING SERVERS
8
# BEFORE:  DAEMON
9
# KEYWORD: shutdown
10
11
#
12
# Define these spamd_* variables in one of these files:
13
#       /etc/rc.conf
14
#       /etc/rc.conf.local
15
#
16
# dnsproxy_enable="YES"        # Run the dnsproxy(1) daemon (YES/NO).
17
# dnsproxy_flags=""    # Extra flags for dnsproxy(1) (if enabled).
18
#
19
# DO NOT CHANGE THESE DEFAULT VALUES HERE
20
#
21
dnsproxy_enable=${dnsproxy_enable:-"NO"}
22
command_args=${dnsproxy_flags:-"-c %%PREFIX%%/etc/dnsproxy.conf -d"}
23
24
. %%RC_SUBR%%
25
26
name="dnsproxy"
27
rcvar=`set_rcvar`
28
29
command="%%PREFIX%%/sbin/dnsproxy"
30
31
load_rc_config $name
32
run_rc_command "$1"
(-)dnsproxy/files/pkg-message.in (+12 lines)
Line 0 Link Here
1
**********************************************************************
2
To enable dnsproxy you need:
3
4
1) Enable dnsproxy in /etc/rc.conf with the following line:
5
   dnsproxy_enable="YES"
6
7
2) Configuration template is available in %%PREFIX%%/etc/dnsproxy as
8
   dnsproxy.conf.sample file.
9
10
For more information see man dnsproxy(1)
11
12
**********************************************************************

Return to bug 118089