diff options
author | Warren Baker <warren@decoy.co.za> | 2014-12-19 22:37:29 +0200 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2014-12-22 17:36:49 -0600 |
commit | 0000cdf7bd8a29c30dcdd3ee651ca5f95a2c98bf (patch) | |
tree | b397b0b523e43dada0e1b06db7122ec4d946de7a /etc/rc | |
parent | 792dbafd7b83e40e5bb9383294e2abb2b2ad083c (diff) | |
download | pfsense-0000cdf7bd8a29c30dcdd3ee651ca5f95a2c98bf.zip pfsense-0000cdf7bd8a29c30dcdd3ee651ca5f95a2c98bf.tar.gz |
Prevent resolvconf(8) from stomping all over our newly generated
resolv.conf and subsequent updates.
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |