blob: 15ed769d8f099ceb1219dc59f9610fd8eaf5ba34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
stat_runit "Starting smartd"
/usr/sbin/smartd -n -c /etc/smartd.conf -q never &>/dev/null
if [ $? -ne 0 ]; then
stat_fail
else
add_daemon smartd
stat_done
fi
|