summaryrefslogtreecommitdiffstats
path: root/openwrt/package/collectd/files/S80collectd
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/collectd/files/S80collectd')
-rwxr-xr-xopenwrt/package/collectd/files/S80collectd17
1 files changed, 0 insertions, 17 deletions
diff --git a/openwrt/package/collectd/files/S80collectd b/openwrt/package/collectd/files/S80collectd
deleted file mode 100755
index aa767fbc48..0000000000
--- a/openwrt/package/collectd/files/S80collectd
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-BINARY="/usr/sbin/collectd"
-PIDFILE="/var/run/collectd.pid"
-DATADIR="/var/lib/collectd"
-
-[ -x "$BINARY" ] || exit 1;
-
-if [ -e "$PIDFILE" ]
-then
- kill $(cat "$PIDFILE") 2>/dev/null
- sleep 1
-fi
-
-[ -d "$DATADIR" ] || mkdir -p "$DATADIR";
-
-$BINARY