From 2c538ee17fda259eb390cc0fe7c3d75da04204c5 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 2 Jul 2014 12:56:20 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41467 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/system/ubox/files/log.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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