nico 7f1f739d9c packages/smartmontools: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 23:43:47 +00:00

17 lines
217 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=95
start() {
service_start /usr/sbin/smartd -q never
}
stop() {
service_stop /usr/sbin/smartd
}
reload() {
service_reload /usr/sbin/smartd
}