Browse Source

sed syntax

Bob Mottram 6 years ago
parent
commit
76fc730b00
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-ddns

+ 1
- 1
src/freedombone-ddns View File

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