summaryrefslogtreecommitdiff
path: root/sysutils/mfid/files/mfid.in
blob: c3c7a765a239115694ac5dd789afa6eb1d769192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

# 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"