luci-app-fwknop: add inline option to qrencode usage 1394/head
authorJonathan Bennett <JBennett@incomsystems.biz>
Mon, 16 Oct 2017 17:29:31 +0000 (12:29 -0500)
committerJonathan Bennett <JBennett@incomsystems.biz>
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 <JBennett@Incomsystems.biz>
applications/luci-app-fwknopd/root/usr/sbin/gen-qr.sh

index cfd7152..48850bd 100644 (file)
@@ -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"