1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/net/rmsg/files/rmsgd.in
Mikhail Teterin cf1e464d49 Modernize the port:
* Build using of the available CPUs
	* Use PLIST_FILES -- there are only two
	* Add a service script for easier stopping/starting

Bump PORTREVISION because of the last item.
2013-04-23 22:12:41 +00:00

16 lines
209 B
Bash

#!/bin/sh
# PROVIDE: rmsg
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
. /etc/rc.subr
name="rmsgd"
rcvar="rmsgd_enable"
command="%%PREFIX%%/sbin/${name}"
load_rc_config $name
run_rc_command "$1"