mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-27 09:01:34 +01:00
Better code
This commit is contained in:
parent
8d5d080cc0
commit
1dad1579ad
@ -966,7 +966,7 @@ function newClient () {
|
|||||||
echo "</ca>"
|
echo "</ca>"
|
||||||
|
|
||||||
echo "<cert>"
|
echo "<cert>"
|
||||||
cat "/etc/openvpn/easy-rsa/pki/issued/$CLIENT.crt" | awk '/BEGIN/,/END/'
|
awk '/BEGIN/,/END/' "/etc/openvpn/easy-rsa/pki/issued/$CLIENT.crt"
|
||||||
echo "</cert>"
|
echo "</cert>"
|
||||||
|
|
||||||
echo "<key>"
|
echo "<key>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user