mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-19 11:20:15 +00:00
Fix KEY_ALTNAMES
(no idea why this is complaining now...)
This commit is contained in:
parent
57a8967b62
commit
3d4a005067
1 changed files with 1 additions and 2 deletions
|
@ -466,9 +466,8 @@ confOpenVPN () {
|
|||
done
|
||||
# Make PiVPN the OU
|
||||
KEY_OU=PiVPN
|
||||
KEY_ALT=PiVPN_KEYALT
|
||||
sed -i "s/\(KEY_OU=\"\).*/\1${KEY_OU}\"/" vars
|
||||
sed -i "s/\(KEY_ALTNAMES=\"\).*/\1${KEY_ALT}\"/" vars
|
||||
grep -q 'KEY_ALTNAMES=' vars || printf '\nexport KEY_ALTNAMES="PiVPN_KEYALT"\n' >> vars
|
||||
|
||||
# source the vars file just edited
|
||||
source ./vars
|
||||
|
|
Loading…
Reference in a new issue