aboutsummaryrefslogtreecommitdiff
path: root/net/widentd/files/widentd.sh.in
blob: 9f18826b00fb836a02468d76bdddd7753a79a22e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/sh
# Start or stop widentd
#
# $FreeBSD$
#
# PROVIDE: widentd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown


# Define these widentd_* variables in one of these files:
#
#       /etc/rc.conf
#       /etc/rc.conf.local
#
# e.g. 
#       widentd_enable="YES"
#
# see the man page at widentd(8) for
# some additional flags to set the IP address
# beeing bound to, or how to set a differernt
# fake user id beeing replied as.
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
widentd_enable=${widentd_enable-"NO"}

. %%RC_SUBR%%

name="widentd"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/widentd"

load_rc_config $name

run_rc_command "$1"