mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
720f9c33c1
Now you can use mfid_flags in rc.conf to control other daemon flags
22 lines
354 B
Bash
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"
|