summaryrefslogtreecommitdiff
path: root/net/widentd/files/widentd.in
blob: 749db2de1bfaaf68235ea1f646b8b9ed0b6a8631 (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
#!/bin/sh
# Start or stop widentd

# 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 widentd(8) man page for some additional options;
# such as flags to set the IP address widentd is bound to,
# or how to set a differernt, or fake user id being sent as a reply.
#
# DO NOT CHANGE THE FOLLOWING DEFAULT VALUES HERE
#
widentd_enable=${widentd_enable-"NO"}

. /etc/rc.subr

name="widentd"
rcvar=widentd_enable
command="%%PREFIX%%/sbin/widentd"

load_rc_config $name

run_rc_command "$1"