aboutsummaryrefslogtreecommitdiffstats
path: root/package/collectd/files/S80collectd
diff options
context:
space:
mode:
Diffstat (limited to 'package/collectd/files/S80collectd')
-rwxr-xr-xpackage/collectd/files/S80collectd17
1 files changed, 0 insertions, 17 deletions
diff --git a/package/collectd/files/S80collectd b/package/collectd/files/S80collectd
deleted file mode 100755
index aa767fbc48..0000000000
--- a/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