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
f19a2121
Commit
f19a2121
authored
Jun 01, 2018
by
Matthew Smith
Browse files
Make shorewall dir even if shorewall doesn't exist
parent
b801b709
Changes
1
Hide whitespace changes
Inline
Side-by-side
functions.sh
View file @
f19a2121
...
...
@@ -172,6 +172,11 @@ function get_current_certificates () {
function
create_shorewall_vars
()
{
local
shorewall_dir
=
$(
dirname
$SHOREWALLVARS
)
if
[
!
-d
$shorewall_dir
]
;
then
mkdir
-p
$shorewall_dir
fi
grep
"ifconfig-push"
$CCDDIR
*
|
sed
"s/[
\/
|:]/ /g"
|
sed
"s/-//g"
|
awk
'{print $4 "=" $6}'
>
$SHOREWALLVARS
}
...
...
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