Ronelle Landy 5c4be3e158 Check that etc/resolv.conf.ORIG exists before edit
In RHEL 8.4, /etc/resolv.conf is not present by default.
As such, removing the nameservers will fail because
etc/resolv.conf.ORIG never gets created.

This patch makes the nameserver edit only if the
etc/resolv.conf.ORIG file exists.

Change-Id: I2178996d899ffe43e11bfeb512e4fcaa941b8410
2021-02-12 14:04:45 -05:00
..
2016-10-21 17:46:37 +07:00