From 0000cdf7bd8a29c30dcdd3ee651ca5f95a2c98bf Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Fri, 19 Dec 2014 22:37:29 +0200 Subject: Prevent resolvconf(8) from stomping all over our newly generated resolv.conf and subsequent updates. --- etc/rc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc/rc') diff --git a/etc/rc b/etc/rc index 601f3f3..52d342d 100755 --- a/etc/rc +++ b/etc/rc @@ -273,6 +273,11 @@ if [ ! -L /etc/resolv.conf ]; then /bin/ln -s /var/etc/resolv.conf /etc/resolv.conf fi +if [ ! -L /etc/resolvconf.conf ]; then + /bin/rm -rf /etc/resolvconf.conf + /bin/ln -s /var/etc/resolvconf.conf /etc/resolvconf.conf +fi + # Setup compatibility link for packages that # have trouble overriding the PREFIX configure # argument since we build our packages in a -- cgit v1.1