From: John Crispin Date: Wed, 2 Jul 2014 12:56:20 +0000 (+0000) Subject: ubox: fix remote logging X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f63bb0adbd4f883fe373a50164ae3a9be1d86e88;p=openwrt%2Fstaging%2Fmkresin.git 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 SVN-Revision: 41467 --- 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