sed syntax
This commit is contained in:
parent
9af6ffe895
commit
76fc730b00
@ -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 '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user