diff options
| author | Roy Marples <roy@marples.name> | 2008-08-13 14:56:46 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-08-13 14:56:46 +0000 |
| commit | 58d770fc587edce63df57d0567b9677773096c8d (patch) | |
| tree | 428ca2ee276c7e9c86147ff624d4b467409b534d /dhcpcd-run-hooks.in | |
| parent | 479d70fa71c43103c4a3540dd55216f9ac434a22 (diff) | |
| download | dhcpcd-58d770fc587edce63df57d0567b9677773096c8d.tar.xz | |
Fix removing old stale entries.
Diffstat (limited to 'dhcpcd-run-hooks.in')
| -rw-r--r-- | dhcpcd-run-hooks.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpcd-run-hooks.in b/dhcpcd-run-hooks.in index cb1eeeb8..62b38e78 100644 --- a/dhcpcd-run-hooks.in +++ b/dhcpcd-run-hooks.in @@ -23,7 +23,7 @@ clean_conf() for x in $(sed -n "s/${m1}//p" "${cft}"); do if [ ! -s /var/run/dhcpcd-${x}.pid ]; then m1="^${signtaure_base}${x}$" - m2="^${signature_base_end} ${x}$" + m2="^${signature_base_end}${x}$" sed "/${m1}/,/${m2}/d" "${cft}" >"${cft}".tmp mv -f "${cft}".tmp "${cft}" fi |
