pppd: Add an option to not to overwrite /etc/resolv.conf
authorMaksim Salau <msalau@iotecha.com>
Tue, 17 Oct 2017 09:54:14 +0000 (12:54 +0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 21 Oct 2017 14:59:49 +0000 (16:59 +0200)
commit1bb454bcb15f33c4539c2f1b4633e4c9dafbb854
tree9dacc615178a2113145c6207074ab7d775c537fa
parent101f166c01624e2962a6e60a0647d386b8165d68
pppd: Add an option to not to overwrite /etc/resolv.conf

By default pppd built by buildroot writes the list of nameservers to
/etc/resolv.conf instead of /etc/ppp/resolv.conf
This is not the default behavior of pppd and breaks name resolution
if several network interfaces are used. The change makes this optional
and enabled by default, to be backward compatible and to add a possibility
to turn this behavior off, if required.

Signed-off-by: Maksim Salau <msalau@iotecha.com>
[Arnout: extend the help text to explain that it won't work on readonly
 rootfs]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/pppd/Config.in
package/pppd/pppd.mk