luci-app-fwknopd: Prep for libqrencode update
authorJonathan Bennett <jbennett@incomsystems.biz>
Mon, 16 Oct 2017 03:12:18 +0000 (22:12 -0500)
committerGitHub <noreply@github.com>
Mon, 16 Oct 2017 03:12:18 +0000 (22:12 -0500)
An update for libqrencode requires that we explicitly ask for an SVG output.  This continues to work properly with the old version.  Making the change here before updating the libqrencode package.

Signed-off-by: Jonathan Bennett <JBennett@Incomsystems.biz>
applications/luci-app-fwknopd/root/usr/sbin/gen-qr.sh

index 7825f05..f525c2a 100644 (file)
@@ -23,4 +23,4 @@ if [ "$hmac_key" != "" ]; then
 qr="$qr HMAC_KEY:$hmac_key"
 fi
 
 qr="$qr HMAC_KEY:$hmac_key"
 fi
 
-qrencode -o - "$qr"
+qrencode -t svg -o - "$qr"