freebsd-ports/comms/hylafax/files/hylafax.in
Doug Barton 9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00

26 lines
479 B
Bash

#!/bin/sh
# $FreeBSD$
#
# PROVIDE: hylafax
# REQUIRE: LOGIN
# KEYWORD: shutdown
# be sure to initialize the following:
# server: %%PREFIX%%/sbin/faxsetup
# modems: %%PREFIX%%/sbin/faxaddmodem
# incoming calls: /etc/ttys
hylafax_enable=${hylafax_enable-"NO"}
. /etc/rc.subr
name="hylafax"
rcvar="hylafax_enable"
start_cmd="%%PREFIX%%/sbin/hylafax start"
stop_cmd="%%PREFIX%%/sbin/hylafax stop"
procname="%%PREFIX%%/sbin/faxq"
load_rc_config $name
run_rc_command "$1"