fix static domain wildcards in dnsmasq (broken by upgrade to 2.26)
[openwrt.git] / openwrt / 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.041637 seconds and 5 git commands to generate.