summaryrefslogtreecommitdiff
path: root/package/busybox
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox')
-rw-r--r--package/busybox/files/syslog.init2
-rw-r--r--package/busybox/files/udhcpd.init2
-rw-r--r--package/busybox/files/watchdog.init2
3 files changed, 3 insertions, 3 deletions
diff --git a/package/busybox/files/syslog.init b/package/busybox/files/syslog.init
index 5f348042a..7a84815a6 100644
--- a/package/busybox/files/syslog.init
+++ b/package/busybox/files/syslog.init
@@ -6,7 +6,7 @@
case $1 in
autostop) ;;
autostart)
- [[ $syslogd_flags = NO ]] && exit 0
+ test x"${syslogd_flags:-NO}" = x"NO" && exit 0
exec sh $0 start
;;
start)
diff --git a/package/busybox/files/udhcpd.init b/package/busybox/files/udhcpd.init
index 788b5043e..f626fb732 100644
--- a/package/busybox/files/udhcpd.init
+++ b/package/busybox/files/udhcpd.init
@@ -6,7 +6,7 @@
case $1 in
autostop) ;;
autostart)
- [[ $udhcpd = NO ]] && exit 0
+ test x"${udhcpd:-NO}" = x"NO" && exit 0
exec sh $0 start
;;
start)
diff --git a/package/busybox/files/watchdog.init b/package/busybox/files/watchdog.init
index 1f1724da5..8632cc36d 100644
--- a/package/busybox/files/watchdog.init
+++ b/package/busybox/files/watchdog.init
@@ -6,7 +6,7 @@
case $1 in
autostop) ;;
autostart)
- [[ $watchdog = NO ]] && exit 0
+ test x"${watchdog:-NO}" = x"NO" && exit 0
exec sh $0 start
;;
start)