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