ubox: fix remote logging
authorJohn Crispin <john@openwrt.org>
Wed, 2 Jul 2014 12:56:20 +0000 (12:56 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 2 Jul 2014 12:56:20 +0000 (12:56 +0000)
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

package/system/ubox/files/log.init

index a4d57e2b5d6f8ec5bfe78c89d7df11a72780c020..be382972e3424098f5435847622389aa9299ae43 100644 (file)
@@ -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