LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Prevent VPNC from overwriting /etc/resolv.conf (https://www.linuxquestions.org/questions/linux-software-2/prevent-vpnc-from-overwriting-etc-resolv-conf-899564/)

ALInux 08-26-2011 05:02 AM

Prevent VPNC from overwriting /etc/resolv.conf
 
Hi
Each time I run vpnc it overwrites my resolv.conf file on Debian. I do not want that to happen but I do not want to use chattr +i on the file. Any hints please ?
Regards

business_kid 08-26-2011 07:37 AM

Most init scripts have a setting about KEEPRESOLV, e.g. DHCP_KEEPRESOLV

grok the script, if there is one.


All times are GMT -5. The time now is 11:26 PM.