summaryrefslogtreecommitdiff
path: root/package/system
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 /package/system
parent16d8827150c6ce9250de65bbba28153ca996cb90 (diff)
downloadmtk-20170518-f63bb0adbd4f883fe373a50164ae3a9be1d86e88.zip
mtk-20170518-f63bb0adbd4f883fe373a50164ae3a9be1d86e88.tar.gz
mtk-20170518-f63bb0adbd4f883fe373a50164ae3a9be1d86e88.tar.bz2
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
Diffstat (limited to 'package/system')
-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 a4d57e2..be38297 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