packages/utils/collectd/files/collectd.init
nico c631721351 packages/collectd: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-11 15:46:32 +00:00

16 lines
220 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=80
SERVICE_USE_PID=1
start() {
mkdir -m 0755 -p /var/lib/collectd
service_start /usr/sbin/collectd
}
stop() {
service_stop /usr/sbin/collectd
}