[OpenWrt-Devel] [PATCH] fix remote logging

Reiner Herrmann reiner at reiner-h.de
Wed Jul 2 06:26:19 EDT 2014


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 at reiner-h.de>
---
 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 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
-- 
2.0.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list