summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-extended/collectd/collectd/collectd.init8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-oe/recipes-extended/collectd/collectd/collectd.init b/meta-oe/recipes-extended/collectd/collectd/collectd.init
index 95f5f73c6..83413463d 100644
--- a/meta-oe/recipes-extended/collectd/collectd/collectd.init
+++ b/meta-oe/recipes-extended/collectd/collectd/collectd.init
@@ -47,11 +47,11 @@ if [ -r /etc/default/$NAME ]; then
47 . /etc/default/$NAME 47 . /etc/default/$NAME
48fi 48fi
49 49
50if test "$ENABLE_COREFILES" == 1; then 50if test "$ENABLE_COREFILES" = 1; then
51 ulimit -c unlimited 51 ulimit -c unlimited
52fi 52fi
53 53
54if test "$USE_COLLECTDMON" == 1; then 54if test "$USE_COLLECTDMON" = 1; then
55 _PIDFILE="$COLLECTDMON_PIDFILE" 55 _PIDFILE="$COLLECTDMON_PIDFILE"
56else 56else
57 _PIDFILE="$PIDFILE" 57 _PIDFILE="$PIDFILE"
@@ -96,7 +96,7 @@ d_start() {
96 return 2 96 return 2
97 fi 97 fi
98 98
99 if test "$USE_COLLECTDMON" == 1; then 99 if test "$USE_COLLECTDMON" = 1; then
100 start-stop-daemon --start --quiet --oknodo --pidfile "$_PIDFILE" \ 100 start-stop-daemon --start --quiet --oknodo --pidfile "$_PIDFILE" \
101 --exec $COLLECTDMON_DAEMON -- -P "$_PIDFILE" -- -C "$CONFIGFILE" \ 101 --exec $COLLECTDMON_DAEMON -- -P "$_PIDFILE" -- -C "$CONFIGFILE" \
102 || return 2 102 || return 2
@@ -150,7 +150,7 @@ d_stop() {
150# 0 if the daemon is running 150# 0 if the daemon is running
151# 3 if the daemon is stopped 151# 3 if the daemon is stopped
152d_status(){ 152d_status(){
153 if test "$USE_COLLECTDMON" == 1; then 153 if test "$USE_COLLECTDMON" = 1; then
154 status $COLLECTDMON_DAEMON 154 status $COLLECTDMON_DAEMON
155 else 155 else
156 status $DAEMON 156 status $DAEMON