packages/smartmontools: use new service functions
[packages.git] / utils / smartmontools / files / smartd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006-2011 OpenWrt.org
3
4 START=95
5
6 start() {
7         service_start /usr/sbin/smartd -q never
8 }
9
10 stop() {
11         service_stop /usr/sbin/smartd
12 }
13
14 reload() {
15         service_reload /usr/sbin/smartd
16 }