aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-02 12:56:20 +0000
committerJohn Crispin <john@openwrt.org>2014-07-02 12:56:20 +0000
commitf63bb0adbd4f883fe373a50164ae3a9be1d86e88 (patch)
treeee5b3d5611d9e2506e2493981c7f34974fbeaf1e
parent16d8827150c6ce9250de65bbba28153ca996cb90 (diff)
downloadupstream-f63bb0adbd4f883fe373a50164ae3a9be1d86e88.tar.gz
upstream-f63bb0adbd4f883fe373a50164ae3a9be1d86e88.tar.bz2
upstream-f63bb0adbd4f883fe373a50164ae3a9be1d86e88.zip
ubox: fix remote logging
in r41439 a flag for enabling remote logging was added, but the actual check was done on a different variable. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> SVN-Revision: 41467
-rw-r--r--package/system/ubox/files/log.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/ubox/files/log.init b/package/system/ubox/files/log.init
index a4d57e2b5d..be382972e3 100644
--- a/package/system/ubox/files/log.init
+++ b/package/system/ubox/files/log.init
@@ -71,7 +71,7 @@ start_service_remote()
echo "validation failed"
return 1
}
- [ "${log_enable}" -ne 0 ] || return
+ [ "${log_remote}" -ne 0 ] || return
[ -z "${log_ip}" ] && return
procd_open_instance