@@ -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 '';