1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/sysutils/mfid/files/mfid.in
Mark Felder 720f9c33c1 sysutils/mfid: Improve rc script
Now you can use mfid_flags in rc.conf to control other daemon flags
2016-06-13 15:46:41 +00:00

22 lines
354 B
Bash

#!/bin/sh
#
# $FreeBSD$
# PROVIDE: mfid
# REQUIRE: root ldconfig devfs syslogd mail
# KEYWORD: nojail noyroot shutdown
. /etc/rc.subr
name=mfid
rcvar=mfid_enable
load_rc_config $name
required_files=/dev/mfi0
raid_alert_mailto=${mfid_alert_mailto:-"root@localhost"}
command=%%PREFIX%%/sbin/mfid
command_args=${raid_alert_mailto}
run_rc_command "$1"