Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
S1OVS
openvpn-server
Commits
2d018da6
Commit
2d018da6
authored
Jul 20, 2018
by
Matthew Smith
Browse files
Fix sed regex as [a-Z] doesn't work with the latest version of sed
parent
4cbe57ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
functions.sh
View file @
2d018da6
...
...
@@ -165,7 +165,7 @@ y" | \
function
get_current_certificates
()
{
echo
"Index User <email address>"
grep
^V /var/lib/openvpn-server/openssl/index.txt |
awk
'{print $3 "/" $5}'
|
sed
"s/[a-
Z
]*=//g"
|
awk
-F
"/"
'{print $1 "\t" $6 " <" $7 ">"}'
grep
^V /var/lib/openvpn-server/openssl/index.txt |
awk
'{print $3 "/" $5}'
|
sed
"s/[
A-Z
a-
z
]*=//g"
|
awk
-F
"/"
'{print $1 "\t" $6 " <" $7 ">"}'
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment