You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
220 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2006-2011 OpenWrt.org
  3. START=80
  4. SERVICE_USE_PID=1
  5. start() {
  6. mkdir -m 0755 -p /var/lib/collectd
  7. service_start /usr/sbin/collectd
  8. }
  9. stop() {
  10. service_stop /usr/sbin/collectd
  11. }