git://git.onelab.eu
/
myplc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20a2af4
)
fix resolv.conf issue on plc
4.3
author
Baris Metin
<bmetin@verivue.com>
Fri, 13 May 2011 15:30:03 +0000
(11:30 -0400)
committer
Baris Metin
<bmetin@verivue.com>
Fri, 13 May 2011 15:30:03 +0000
(11:30 -0400)
plc.d/dns
patch
|
blob
|
history
diff --git
a/plc.d/dns
b/plc.d/dns
index
9536c3e
..
adf6c7f
100755
(executable)
--- 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