#!/bin/sh # # $FreeBSD: head/net/nakenchat/files/nakenchat.in 340872 2014-01-24 00:14:07Z mat $ # # 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"