From 9afa12617872266ccf30f506986a5c4d30e5e939 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Sun, 11 Dec 2022 16:24:03 +0100 Subject: [PATCH] Remove comments from QR code --- scripts/show-client.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/show-client.sh b/scripts/show-client.sh index 4764cac..27292f7 100755 --- a/scripts/show-client.sh +++ b/scripts/show-client.sh @@ -7,5 +7,5 @@ echo # Create QR-codes for clients if [ ! -z "$(which qrencode 2>/dev/null)" ]; then - qrencode -t utf8 < "$DEVICE-client_$1.conf" + cat "$DEVICE-client_$1.conf" | sed '/^#/d '| qrencode -t utf8 fi \ No newline at end of file