]> www.infradead.org Git - users/dwmw2/vpnc-scripts.git/commit
Don't use /sbin/resolvconf if it just points to resolvectl.
authorJames Hennessy <jphxxxx@gmail.com>
Sun, 17 Feb 2019 19:18:05 +0000 (14:18 -0500)
committerDaniel Lenski <dlenski@gmail.com>
Mon, 30 Nov 2020 02:11:19 +0000 (18:11 -0800)
commitbda05f92752c5f9710b5aaf4d2981b8eb01e0d9a
treec4e7ad43473094d20b7184c3ddd9bd98c2b51267
parent0372f114311ca58951a933263b85f93e153e4425
Don't use /sbin/resolvconf if it just points to resolvectl.

On Fedora 29 systems, resolvconf is a symbolic link to resolvectl, but
using resolvectl won't work unless "resolve" appears on the "hosts" line
of /etc/nsswitch.  If we reach the point of considering resolvconf, then
"resolve" is not enabled and resolvectl should be avoided.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
vpnc-script