Commit 37f17401 authored by Lindsay Harvey's avatar Lindsay Harvey
Browse files

Fix create_shorewall_vars function as Grep default behaviour has changed since version 2 and 3

parent a6a5132b
......@@ -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
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment