mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-19 19:30:16 +00:00
Whoops, fixed now
This commit is contained in:
parent
b0f3edf5ea
commit
4681cf29fe
1 changed files with 1 additions and 1 deletions
|
@ -743,7 +743,7 @@ confOpenVPN() {
|
||||||
# Build the server
|
# Build the server
|
||||||
${SUDOE} ./build-key-server --batch $SERVER_NAME
|
${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
|
then
|
||||||
# Downloading parameters, $KEY_DIR and $KEY_SIZE get set by sourcing ./vars
|
# 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"
|
${SUDOE} curl "https://2ton.com.au/dhparam/${ENCRYPT}" -o "${KEY_DIR}/dh${KEY_SIZE}.pem"
|
||||||
|
|
Loading…
Reference in a new issue