mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 13:20:32 -04:00
- Add MSN 2011 protocol support PR: ports/162511 Submitted by: "Mikhail T." <m.tsatsenko@gmail.com> (maintainer)
30 lines
603 B
Bash
30 lines
603 B
Bash
#!/bin/sh
|
|
|
|
# PROVIDE: imspector
|
|
# REQUIRE: LOGIN
|
|
# KEYWORD: shutdown
|
|
#
|
|
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
|
|
# to enable this service:
|
|
#
|
|
# imspector_enable (bool): Set to NO by default.
|
|
# Set it to YES to enable imspector.
|
|
# imspector_config (path): Set to %%ETCDIR%%/imspector.conf
|
|
# by default.
|
|
#
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="imspector"
|
|
rcvar=${name}_enable
|
|
|
|
command=%%PREFIX%%/sbin/${name}
|
|
|
|
load_rc_config $name
|
|
|
|
: ${imspector_enable="NO"}
|
|
: ${imspector_config="%%ETCDIR%%/imspector.conf"}
|
|
|
|
command_args="-c $imspector_config"
|
|
|
|
run_rc_command "$1"
|