summaryrefslogtreecommitdiff
path: root/comms/hylafax/files/hfaxd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'comms/hylafax/files/hfaxd.sh')
-rw-r--r--comms/hylafax/files/hfaxd.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/comms/hylafax/files/hfaxd.sh b/comms/hylafax/files/hfaxd.sh
new file mode 100644
index 00000000000..fd761204d34
--- /dev/null
+++ b/comms/hylafax/files/hfaxd.sh
@@ -0,0 +1,21 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: hfaxd.sh,v 1.1 2015/12/29 00:05:54 dholland Exp $
+
+# PROVIDE: hfaxd
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+
+$_rc_subr_loaded . /etc/rc.subr
+
+name=hfaxd
+rcvar=$name
+command=@PREFIX@/libexec/hfaxd
+command_args="-i 4559 -o 4557 -s 444"
+#pidfile=@VARBASE@/run/hfaxd.pid
+required_files=@VARBASE@/spool/hylafax/etc/config
+
+load_rc_config $name
+run_rc_command "$1"
+
+ \ No newline at end of file