blob: 3645960deefaed6d1caf267f809f94c820bce33b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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"
|