mirror of
https://github.com/pivpn/pivpn.git
synced 2025-04-26 17:20:12 +00:00
Merge pull request #1321 from DerDanilo/add_wireguard_persistentkeepalive
Add wireguard persistentkeepalive
This commit is contained in:
commit
c002031ce3
3 changed files with 12 additions and 0 deletions
|
@ -1129,6 +1129,13 @@ installPiVPN(){
|
|||
echo "pivpnPROTO=${pivpnPROTO}" >> ${tempsetupVarsFile}
|
||||
echo "pivpnMTU=${pivpnMTU}" >> ${tempsetupVarsFile}
|
||||
|
||||
# Write PERSISTENTKEEPALIVE if provided via unattended file
|
||||
# May also be added manually to /etc/pivpn/wireguard/setupVars.conf
|
||||
# post installation to be used for client profile generation
|
||||
if [ "$pivpnPERSISTENTKEEPALIVE" ]; then
|
||||
echo "pivpnPERSISTENTKEEPALIVE=${pivpnPERSISTENTKEEPALIVE}" >> ${tempsetupVarsFile}
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue