mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-26 16:51:30 +01:00
Better code
This commit is contained in:
parent
8d5d080cc0
commit
1dad1579ad
@ -966,7 +966,7 @@ function newClient () {
|
||||
echo "</ca>"
|
||||
|
||||
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 "<key>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user