Remove comments from QR code

This commit is contained in:
Paul-Christian Volkmer 2022-12-11 16:24:03 +01:00
parent 1d945f7ffb
commit 9afa126178

View File

@ -7,5 +7,5 @@ echo
# Create QR-codes for clients # Create QR-codes for clients
if [ ! -z "$(which qrencode 2>/dev/null)" ]; then 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 fi