From 54f937de2e2a2ea476e27caa486d5014df64ed29 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 5 Jul 2021 21:15:32 -0400 Subject: fix sed syntax --- bin/algo-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/algo-config b/bin/algo-config index 7421504..f59a6a7 100755 --- a/bin/algo-config +++ b/bin/algo-config @@ -20,7 +20,7 @@ fixup_configs() { shift sed -i 's/^\(Address.*\) *,.*/\1/' "$config_path"/"${name}".conf - sed -i 'g/^DNS/d' "$config_path"/"${name}".conf + sed -i '/^DNS/d' "$config_path"/"${name}".conf cp "$config_path"/"${name}".conf "$config_path"/"${name}"-not-captive.conf sed -i 's|^AllowedIPs.*|AllowedIPs = 0.0.0.0/0|' "$config_path"/"${name}".conf sed -i 's|^AllowedIPs.*|AllowedIPs = 10.49.0.0/24|' "$config_path"/"${name}"-not-captive.conf -- cgit v1.2.3-54-g00ecf