From: Baris Metin Date: Fri, 13 May 2011 15:30:03 +0000 (-0400) Subject: fix resolv.conf issue on plc X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=ff97b07d89c1310eb18dd0a1f807f136eab3574f fix resolv.conf issue on plc --- diff --git a/plc.d/dns b/plc.d/dns index 9536c3e..adf6c7f 100755 --- a/plc.d/dns +++ b/plc.d/dns @@ -54,9 +54,9 @@ case "$1" in fi else cp /etc/resolv.conf /etc/resolv.bak - mv -f $rfile /etc/resolv.conf - chmod 444 /etc/resolv.conf fi + mv -f $rfile /etc/resolv.conf + chmod 444 /etc/resolv.conf fi if [ $PLC_DNS_ENABLED -eq 1 ] ; then