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:
914cdce
)
more cleaning of the messages that show up when doing a 'service plc stop'
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Mon, 15 Jun 2009 16:19:35 +0000
(16:19 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Mon, 15 Jun 2009 16:19:35 +0000
(16:19 +0000)
plc.d/dns
patch
|
blob
|
history
diff --git
a/plc.d/dns
b/plc.d/dns
index
dd4ef7c
..
1840f32
100755
(executable)
--- a/
plc.d/dns
+++ b/
plc.d/dns
@@
-78,14
+78,12
@@
case "$1" in
MESSAGE=$"Removing /etc/plc_hosts"
dialog "$MESSAGE"
[ -f "/etc/plc_hosts" ] && rm -f /etc/plc_hosts
- check
result ""
fi
if [ $PLC_DNS_ENABLED -eq 0 -a -f "/etc/resolv_plc.backup" ] ; then
MESSAGE="Restoring /etc/resolv.conf"
- mv -f /etc/resolv_plc.backup /etc/resolv.conf
- check
dialog "$MESSAGE"
+ mv -f /etc/resolv_plc.backup /etc/resolv.conf
result ""
fi