diff options
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-extended/collectd/collectd/collectd.init | 8 |
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 |
48 | fi | 48 | fi |
49 | 49 | ||
50 | if test "$ENABLE_COREFILES" == 1; then | 50 | if test "$ENABLE_COREFILES" = 1; then |
51 | ulimit -c unlimited | 51 | ulimit -c unlimited |
52 | fi | 52 | fi |
53 | 53 | ||
54 | if test "$USE_COLLECTDMON" == 1; then | 54 | if test "$USE_COLLECTDMON" = 1; then |
55 | _PIDFILE="$COLLECTDMON_PIDFILE" | 55 | _PIDFILE="$COLLECTDMON_PIDFILE" |
56 | else | 56 | else |
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 |
152 | d_status(){ | 152 | d_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 |