mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-19 19:30:16 +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
|
done
|
||||||
# Make PiVPN the OU
|
# Make PiVPN the OU
|
||||||
KEY_OU=PiVPN
|
KEY_OU=PiVPN
|
||||||
KEY_ALT=PiVPN_KEYALT
|
|
||||||
sed -i "s/\(KEY_OU=\"\).*/\1${KEY_OU}\"/" vars
|
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 the vars file just edited
|
||||||
source ./vars
|
source ./vars
|
||||||
|
|
Loading…
Reference in a new issue