From 4681cf29fe4474534bb1481d35fc1588c0f05b6e Mon Sep 17 00:00:00 2001 From: redfast00 Date: Tue, 18 Oct 2016 19:28:12 +0200 Subject: [PATCH] Whoops, fixed now --- auto_install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index ed34df4..73069fa 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -743,7 +743,7 @@ confOpenVPN() { # Build the server ${SUDOE} ./build-key-server --batch $SERVER_NAME - if ( ("$ENCRYPT" >= 4096) && whiptail --backtitle "Setup OpenVPN" --title "Diffie-Hellman Parameters" --defaultno --yesno "Generating Diffie-Hellman parameters for a $ENCRYPT-bits key might take a long time on a Raspberry Pi. Do you want to download them? (If you're paranoid, choose 'No')" $r $c) + if [ "$ENCRYPT" -ge "4096" ] && whiptail --backtitle "Setup OpenVPN" --title "Diffie-Hellman Parameters" --defaultno --yesno "Generating Diffie-Hellman parameters for a $ENCRYPT-bits key might take a long time on a Raspberry Pi. Do you want to download them? (If you're paranoid, choose 'No')" $r $c) then # Downloading parameters, $KEY_DIR and $KEY_SIZE get set by sourcing ./vars ${SUDOE} curl "https://2ton.com.au/dhparam/${ENCRYPT}" -o "${KEY_DIR}/dh${KEY_SIZE}.pem"