Merge pull request #1671 from dibdot/travelmate
luci-app-travelmate: remove qrencode short options
This commit is contained in:
commit
4f04e6126e
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ This is free software, licensed under the Apache License, Version 2.0
|
||||||
local e_key = string.gsub(key,"[\"\\';:, ]",[[\\\%1]])
|
local e_key = string.gsub(key,"[\"\\';:, ]",[[\\\%1]])
|
||||||
local qrcode = ""
|
local qrcode = ""
|
||||||
if nixio.fs.access("/usr/bin/qrencode") then
|
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
|
end
|
||||||
-%>
|
-%>
|
||||||
<fieldset class="cbi-section">
|
<fieldset class="cbi-section">
|
||||||
|
|
Loading…
Reference in a new issue