Skip to content

Commit

Permalink
Another stab at the sed for ca certs
Browse files Browse the repository at this point in the history
  • Loading branch information
haugene committed Sep 4, 2021
1 parent a2f99f4 commit c016e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openvpn/modify-openvpn-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fi
if [[ $CONFIG_MOD_CA_CERTS == "1" ]]; then
echo "Modification: Change ca certificate path"
config_directory=$(dirname "$CONFIG")
sed -i "s#^ca.*/#ca $config_directory/#g" "$CONFIG"
sed -i -E "s#ca\s+#ca $config_directory/#g" "$CONFIG"
fi

## Option 3 - Update ping options to exit the container, so Docker will restart it
Expand Down

0 comments on commit c016e5d

Please sign in to comment.