Fix maximal client config files to be created

This commit is contained in:
Paul-Christian Volkmer 2022-12-02 17:07:34 +01:00
parent 3659803336
commit 358b18b49d

View File

@ -35,7 +35,7 @@ while [[ -z $CLIENTS ]]; do
echo -n "Number of clients: " echo -n "Number of clients: "
read CLIENTS read CLIENTS
done done
if [[ "240" > "$CLIENTS" ]]; then if (( $CLIENTS > 240 )); then
CLIENTS=240 CLIENTS=240
fi fi
echo " - Generating $CLIENTS client configs and client QR codes" echo " - Generating $CLIENTS client configs and client QR codes"