Changeset View
Changeset View
Standalone View
Standalone View
etc/rc.d/mfid
- This file was added.
#!/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 | |||||
raid_alert_mailto=${mfid_alert_mailto:-"root@localhost"} | |||||
raid_alert_timeout=${mfid_alert_timeout:-15} | |||||
command="/usr/sbin/mfid -d -t ${raid_alert_timeout} ${raid_alert_mailto}" | |||||
stop_cmd="killall -9 mfid > /dev/null 2>&1" | |||||
run_rc_command "$1" |