git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
19f30d0
)
luci-app-fwknop: add inline option to qrencode usage
author
Jonathan Bennett
<redacted>
Mon, 16 Oct 2017 17:29:31 +0000
(12:29 -0500)
committer
Jonathan Bennett
<redacted>
Mon, 16 Oct 2017 17:29:31 +0000
(12:29 -0500)
The qrencode update in the packages repo includes a patch that
adds the --inline option. We use that option to generate a
proper inline SVG image.
Signed-off-by: Jonathan Bennett <redacted>
applications/luci-app-fwknopd/root/usr/sbin/gen-qr.sh
patch
|
blob
|
history
diff --git
a/applications/luci-app-fwknopd/root/usr/sbin/gen-qr.sh
b/applications/luci-app-fwknopd/root/usr/sbin/gen-qr.sh
index cfd71525ca310792a6a70873db0f5c44954f59bd..48850bd361ff4172f30ad259ad0dcd5860da7380 100644
(file)
--- a/
applications/luci-app-fwknopd/root/usr/sbin/gen-qr.sh
+++ b/
applications/luci-app-fwknopd/root/usr/sbin/gen-qr.sh
@@
-23,4
+23,4
@@
if [ "$hmac_key" != "" ]; then
qr="$qr HMAC_KEY:$hmac_key"
fi
-qrencode -t svg -o - "$qr"
+qrencode -t svg -
I -
o - "$qr"
git clone https://git.99rst.org/PROJECT