etc/dists/scripts/set_dns.sh: fix

Commit 7ff74dc4c is not that bad except for the fact that grep, unlike sed,
exits with code 1 if the pattern is not found. This makes the script error
out, which is very unfortunate.

Go back to using sed. Note this is not a complete patch revert -- we still
achieve what we wanted in commit 7ff74dc4c.

Fixes http://bugzilla.openvz.org/1991

Reported-by: Scott Dowdle <dowdle@montanalinux.org>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed