freebsd-ports/net/msend/files/mesgd.in
Michael Scheidell c8ff63f09c - Unbreak on 9.0
- add rc script
- Pass maintainership to submitter

PR:		ports/165380
Submitted by:	Denis Generalov <gd@ramble.ru> (maintainer)
Approved by:	gabor (mentor, implicit)
2012-02-27 23:07:12 +00:00

27 lines
387 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: mesgd
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable mesgd:
#
# mesgd_enable=(bool): Set it to "YES" to enable mesgd
#
# and add appropriate mesgd_flags.
#
. /etc/rc.subr
name="mesgd"
rcvar=mesgd_enable
load_rc_config $name
: ${mesgd_enable="NO"}
command=%%PREFIX%%/sbin/${name}
run_rc_command "$1"