summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/smartd/finish
blob: b93dcf0ece07e1ebd58a42460af98d8f8c434185 (plain)
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