sed syntax

This commit is contained in:
Bob Mottram 2018-05-12 12:12:48 +01:00
parent 9af6ffe895
commit 76fc730b00
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ function update_inadyn_config {
if ! grep -q "$DDNS_PROVIDER" /etc/inadyn.conf; then
# remove entry for any previous ddns
sed -i '/^system $/,$d' /etc/inadyn.conf
sed -i '/system /,$d' /etc/inadyn.conf
# add the new provider
{ echo '';