From 6ffb7056fede2c9f52de5fb665462b4ce2990fa4 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Mon, 19 Feb 2018 21:52:21 +0100 Subject: luci-app-travelmate: sync with release 1.1.0 * add an option for the captive portal detection * support the new signal quality treshold (default 30) * small fixes Signed-off-by: Dirk Brenken --- applications/luci-app-travelmate/luasrc/controller/travelmate.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-app-travelmate/luasrc/controller') diff --git a/applications/luci-app-travelmate/luasrc/controller/travelmate.lua b/applications/luci-app-travelmate/luasrc/controller/travelmate.lua index ef79c7406b..0f7583497f 100644 --- a/applications/luci-app-travelmate/luasrc/controller/travelmate.lua +++ b/applications/luci-app-travelmate/luasrc/controller/travelmate.lua @@ -33,7 +33,7 @@ function logread() local logfile if nixio.fs.access("/var/log/messages") then - logfile = util.trim(util.exec("cat /var/log/messages | grep 'travelmate-'")) + logfile = util.trim(util.exec("grep -F 'travelmate-' /var/log/messages")) else logfile = util.trim(util.exec("logread -e 'travelmate-'")) end -- cgit v1.2.3