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
37f17401
Commit
37f17401
authored
Jan 05, 2021
by
Lindsay Harvey
Browse files
Fix create_shorewall_vars function as Grep default behaviour has changed since version 2 and 3
parent
a6a5132b
Changes
1
Hide whitespace changes
Inline
Side-by-side
functions.sh
View file @
37f17401
...
...
@@ -177,7 +177,7 @@ function create_shorewall_vars () {
mkdir
-p
$shorewall_dir
fi
grep
"ifconfig-push"
$CCDDIR
*
|
sed
"s/[
\/
|:]/ /g"
|
sed
"s/-//g"
|
awk
'{print $4 "=" $6}'
>
$SHOREWALLVARS
grep
-H
"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