more cleaning of the messages that show up when doing a 'service plc stop'
authorMarc Fiuczynski <mef@cs.princeton.edu>
Mon, 15 Jun 2009 16:19:35 +0000 (16:19 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Mon, 15 Jun 2009 16:19:35 +0000 (16:19 +0000)
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