#!/bin/bash export TERM=linux . /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