mirror of
https://github.com/pivpn/pivpn.git
synced 2025-04-25 16:50:12 +00:00
Changed variable name, corrected rm typo
This commit is contained in:
parent
44feb0b853
commit
4a49787b28
4 changed files with 12 additions and 12 deletions
|
@ -75,7 +75,7 @@ do
|
|||
DAYS="$_val"
|
||||
;;
|
||||
-i|--iOS)
|
||||
if [ "$pivpnTWOPOINTFOUR" -ne 1 ]; then
|
||||
if [ "$TWO_POINT_FOUR" -ne 1 ]; then
|
||||
iOS=1
|
||||
else
|
||||
echo "Sorry, can't generate iOS-specific configs for ECDSA certificates"
|
||||
|
@ -391,7 +391,7 @@ else
|
|||
echo "</key>"
|
||||
|
||||
#Finally, append the tls Private Key
|
||||
if [ "$pivpnTWOPOINTFOUR" -eq 1 ]; then
|
||||
if [ "$TWO_POINT_FOUR" -eq 1 ]; then
|
||||
echo "<tls-crypt>"
|
||||
cat "${TA}"
|
||||
echo "</tls-crypt>"
|
||||
|
|
|
@ -151,7 +151,7 @@ removeAll(){
|
|||
elif [ "${i}" = "openvpn" ]; then
|
||||
|
||||
if [ "$PLAT" = "Debian" ] || [ "$PLAT" = "Ubuntu" ]; then
|
||||
rm -r /etc/apt/sources.list.d/pivpn-openvpn-repo.list
|
||||
rm -f /etc/apt/sources.list.d/pivpn-openvpn-repo.list
|
||||
$PKG_MANAGER update &> /dev/null
|
||||
fi
|
||||
deluser openvpn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue