From: Marc Fiuczynski Date: Mon, 15 Jun 2009 16:19:35 +0000 (+0000) Subject: more cleaning of the messages that show up when doing a 'service plc stop' X-Git-Tag: MyPLC-4.3-14~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=707e0795337cb0201714841ba91070052578f584;p=myplc.git more cleaning of the messages that show up when doing a 'service plc stop' --- diff --git a/plc.d/dns b/plc.d/dns index dd4ef7c..1840f32 100755 --- 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