From: Jonathan Bennett Date: Mon, 16 Oct 2017 17:29:31 +0000 (-0500) Subject: luci-app-fwknop: add inline option to qrencode usage X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cfbeca728ef8fc6e450010d434fcac6a4d5f2b19;p=oweals%2Fluci.git luci-app-fwknop: add inline option to qrencode usage 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 --- 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 cfd71525c..48850bd36 100644 --- 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"