1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
6 [ -f /etc/smartd.conf ] || {
7 echo "/etc/smartd.conf does not exist !";
10 [ -d /var/run ] || mkdir -p /var/run
11 [ -x /usr/sbin/smartd ] && /usr/sbin/smartd -q never -p /var/run/smartd.pid
25 kill -HUP `cat /var/run/smartd.pid` &>/dev/null