diff options
Diffstat (limited to 'comms/hylafax/files/hylafax.in')
-rw-r--r-- | comms/hylafax/files/hylafax.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/comms/hylafax/files/hylafax.in b/comms/hylafax/files/hylafax.in new file mode 100644 index 000000000000..3645960deefa --- /dev/null +++ b/comms/hylafax/files/hylafax.in @@ -0,0 +1,26 @@ +#!/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" |