1 2 3 4 5 6 7 8 9
#!/bin/bash . /etc/rc.conf . /etc/rc.d/functions stat_runit "Stopping smartd" kill -9 `pidof /usr/bin/smartd` &>/dev/null rm_daemon smartd stat_done