diff options
author | Dirk Brenken <dev@brenken.org> | 2018-02-19 21:52:21 +0100 |
---|---|---|
committer | Dirk Brenken <dev@brenken.org> | 2018-02-19 21:52:21 +0100 |
commit | 6ffb7056fede2c9f52de5fb665462b4ce2990fa4 (patch) | |
tree | e49287beb081b75bf8906b5e4489b0e5c355f583 /applications/luci-app-travelmate/luasrc/controller | |
parent | 08916f4335e96e4a3c9dcf77262fa151348ed93c (diff) |
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 <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-travelmate/luasrc/controller')
-rw-r--r-- | applications/luci-app-travelmate/luasrc/controller/travelmate.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |