diff --git a/scripts/wireguard/qrcodeCONF.sh b/scripts/wireguard/qrcodeCONF.sh index e81f319..0365559 100755 --- a/scripts/wireguard/qrcodeCONF.sh +++ b/scripts/wireguard/qrcodeCONF.sh @@ -88,6 +88,13 @@ for CLIENT_NAME in "${CLIENTS_TO_SHOW[@]}"; do qrencode -t "${encoding}" < "${CLIENT_NAME}.conf" + echo "=====================================================================" + elif [[ -f "${CLIENT_NAME}" ]]; then + echo -e "::: Showing client \e[1m${CLIENT_NAME}\e[0m below" + echo "=====================================================================" + + qrencode -t "${encoding}" < "${CLIENT_NAME}" + echo "=====================================================================" else echo -e "::: \e[1m${CLIENT_NAME}\e[0m does not exist"