X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plc.d%2Fdns;h=afdf55ffd4ad5fcfa26d512cad2eef0a6db16a90;hb=039b8b04f1e3e9f584abf83797ae3f1a8c421e23;hp=dd4ef7c9000a9ea6bb92f8a2a0d522a4ca610745;hpb=914cdcee7fbcbc38ac54c5a8213d8f7ece0c580e;p=myplc.git diff --git a/plc.d/dns b/plc.d/dns index dd4ef7c..afdf55f 100755 --- a/plc.d/dns +++ b/plc.d/dns @@ -1,6 +1,6 @@ #!/bin/bash # -# priority: 850 +# priority: 950 # # Start local DNS server to provide minimal DNS forward resolution for # ourselves and our nodes. @@ -8,14 +8,12 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id$ -# # Source function library and configuration . /etc/plc.d/functions . /etc/planetlab/plc_config -SIGNATURE="; generated by /etc/plc.d/dns --- DO NOT REMOVE THIS TEXT!" +SIGNATURE="; generated by /etc/plc.d/dns --- DO NOT REMOVE THIS TEXT" # Be verbose set -x @@ -78,14 +76,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