Remove generation of PNG QR codes on add as done for init

This commit is contained in:
Paul-Christian Volkmer 2022-12-16 20:07:49 +01:00
parent 0aa12e997f
commit 133c466c26

View File

@ -53,9 +53,4 @@ AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = $SERVER_HOST:$SERVER_PORT
EOF
# Create QR-codes for clients
if [ ! -z "$(which qrencode 2>/dev/null)" ]; then
qrencode -t png -o "$DEVICE-client_$CLIENT_ID.png" < $DEVICE-client_$CLIENT_ID.conf
fi
echo "Added Client # $CLIENT_ID"