summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-03-08 10:13:15 +0100
committerDirk Brenken <dev@brenken.org>2018-03-08 10:13:15 +0100
commitff7bdab68a8df950f002e9cddbcf1b4d8cca4007 (patch)
treea2a3467ef40dd87c817d31a24f489392faf7c11e
parent898b8a9904f597be38eb7e80201ee958bab65668 (diff)
luci-app-travelmate: remove qrencode short options
* forthcoming qrencode version will remove the short option "-I" for inline, to get prepared switch to normal qrencode command line parameters. Signed-off-by: Dirk Brenken <dev@brenken.org>
-rw-r--r--applications/luci-app-travelmate/luasrc/view/travelmate/ap_qr.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-travelmate/luasrc/view/travelmate/ap_qr.htm b/applications/luci-app-travelmate/luasrc/view/travelmate/ap_qr.htm
index e6e4ede5ab..13342a3e66 100644
--- a/applications/luci-app-travelmate/luasrc/view/travelmate/ap_qr.htm
+++ b/applications/luci-app-travelmate/luasrc/view/travelmate/ap_qr.htm
@@ -45,7 +45,7 @@ This is free software, licensed under the Apache License, Version 2.0
local e_key = string.gsub(key,"[\"\\';:, ]",[[\\\%1]])
local qrcode = ""
if nixio.fs.access("/usr/bin/qrencode") then
- qrcode = luci.sys.exec("/usr/bin/qrencode -I -t SVG -8 -o - 'WIFI:S:\"'" .. e_ssid .. "'\";T:'" .. enc .. "';P:\"'" .. e_key .. "'\";H:'" .. hidden .. "';'")
+ qrcode = luci.sys.exec("/usr/bin/qrencode --inline --8bit --type=SVG --output=- 'WIFI:S:\"'" .. e_ssid .. "'\";T:'" .. enc .. "';P:\"'" .. e_key .. "'\";H:'" .. hidden .. "';'")
end
-%>
<fieldset class="cbi-section">