summaryrefslogtreecommitdiff
path: root/openwrt/package/collectd/files/S80collectd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-07 11:57:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-07 11:57:20 +0000
commitd58a09110ccfa95f06c983fe796806f2e035c9d2 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /openwrt/package/collectd/files/S80collectd
parentaf034797eeb62b62ac05442d5a688b28ccd0f16b (diff)
downloadmtk-20170518-d58a09110ccfa95f06c983fe796806f2e035c9d2.zip
mtk-20170518-d58a09110ccfa95f06c983fe796806f2e035c9d2.tar.gz
mtk-20170518-d58a09110ccfa95f06c983fe796806f2e035c9d2.tar.bz2
move old kamikaze out of trunk - will put buildroot-ng in there as soon as all the developers are ready
SVN-Revision: 4944
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 aa767fb..0000000
--- 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