summaryrefslogtreecommitdiff
path: root/net/nakenchat/files/nakenchat.in
blob: bda9d1bbf04922bd25345c76804079db325e1c91 (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
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: nakenchat
# REQUIRE: DAEMON
#
# Add the following lines to /etc/rc.conf to enable nakenchat:
#
# nakenchat_enable (bool):             Set it to "YES" to enable nakenchat.
#                              Default is "NO".
#

. /etc/rc.subr

name="nakenchat"
rcvar=nakenchat_enable

load_rc_config $name

: ${nakenchat_enable="NO"}

command=/usr/local/bin/nakenchat
command_args="&"

run_rc_command "$1"