branch Attitude Adjustment packages
[12.09/packages.git] / utils / collectd / files / collectd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006-2011 OpenWrt.org
3
4 START=80
5
6 SERVICE_USE_PID=1
7
8 start() {
9         mkdir -m 0755 -p /var/lib/collectd
10         service_start /usr/sbin/collectd
11 }
12
13 stop() {
14         service_stop /usr/sbin/collectd
15 }