1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/net/nakenchat/files/nakenchat.in
Wesley Shields 5ee1c05748 - Update to 2.12
- Pass maintainer to submitter
- Switch to new MASTER_SITES
- Add RC script
- Switch to OPTIONS
- Properly handle the configuration file
- Respect CC and CFLAGS

PR:		ports/128894
Submitted by:	Oleg Ginzburg <oleg.ginzburg@nevosoft.ru>
Approved by:	mike@mikekohn.net (maintainer)
2008-11-23 19:25:12 +00:00

27 lines
435 B
Bash

#!/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=${name}_enable
load_rc_config $name
: ${nakenchat_enable="NO"}
command=/usr/local/bin/nakenchat
command_args="&"
run_rc_command "$1"