Restored mrd6 compilation as "ceilf" dependency is now solved, updated to latest...
[openwrt.git] / package / collectd / files / S80collectd
1 #!/bin/sh
2
3 BINARY="/usr/sbin/collectd"
4 PIDFILE="/var/run/collectd.pid"
5 DATADIR="/var/lib/collectd"
6
7 [ -x "$BINARY" ] || exit 1;
8
9 if [ -e "$PIDFILE" ]
10 then
11 kill $(cat "$PIDFILE") 2>/dev/null
12 sleep 1
13 fi
14
15 [ -d "$DATADIR" ] || mkdir -p "$DATADIR";
16
17 $BINARY
This page took 0.051895 seconds and 5 git commands to generate.