commit | 7ff74dc4c966069a285ddfa3708ee0e9a7d43985 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Jun 22 23:38:31 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Jun 22 23:38:31 2011 +0400 |
tree | 5e0b1d327bb601158822b5deff2c860c45d2bd24 | |
parent | 9afe9461ef4761ebea6f079c1087cdcc174eafdb [diff] |
etc/dists/scripts/set_dns.sh: improve removing old nameservers Previous sed expression was removing any line with 'nameserver' in it (and .* at the end was unnecessary). This includes comments and so on. This grep expression only filters out lines where nameserver is a separate word at the beginning of a line. Signed-off-by: Kir Kolyshkin <kir@openvz.org>