scripts/openvpn/removeOVPN.sh
* SC1090: ShellCheck can't follow non-constant source. Use a directive to specify location.
* Disabled warning
* SC2128: Expanding an array without an index only gives the first element.
* Disabled warning, as its only checking if variable is empty
* SC2001: See if you can use ${variable//search/replace} instead.
* Disabled warning, regex doesn't apply to ${variable//search/replace}
* SC2086: Double quote to prevent globbing and word splitting.
* Added double quotes
* SC2140: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
* Removed unecessary double quotes from %s
* SC2154: <VariableName> is referenced but not assigned.
* Disabled warning, variables sourced externally
scripts/openvpn/pivpnDebug.sh
* SC1090: ShellCheck can't follow non-constant source. Use a directive to specify location.
* Disabled warning message
* SC2154: <VariableName> is referenced but not assigned.
* Disabled warning message
* SC2086: Double quote to prevent globbing and word splitting.
* Added double quotes
* SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
* Added double quotes
scripts/openvpn/makeOVPN.sh
* SC1090: ShellCheck can't follow non-constant source. Use a directive to specify location.
* Disabled warning
* SC2086: Double quote to prevent globbing and word splitting.
* Added missing double quotes
* SC2001: See if you can use ${variable//search/replace} instead.
* Disabled warning, suggested method doesn't go well with regexp
* SC2154: <VarName> is referenced but not assigned.
* Disabled warning, variables are sourced externally and may differ
This commit allows PiVPN scripts to revoke certificates with common names like "José" better. Prior to this commit, names like "José" could not be revoked using PiVPN tools.
This commit allows PiVPN scripts to display certificates with common names like "José" better. Prior to this commit, names like "José" would be shown as "Jos\xC3\xA9".
- Allow using 'pivpn vpn -u' to directly uninstall VPN 'vpn'
- Also allow using 'pivpn -u' with two VPNs (will present a dialog).
- During uninstall, ask which VPN to remove only if there are two VPNs
- PiVPN git repo will be downloaded to '/usr/local/src/pivpn'. All scripts
in /opt/pivpn, the main pivpn script and the bash completion file,
are now just symbolic links. Resolves issue #695.
- Remove unused call to updateWireGuard().