X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plc.d%2Fnetwork;h=73ac47016483eb63a5dc27b3bba783e3f3e11fc0;hb=ff06429772867a55fa0e2bed31306392c67a4405;hp=39d44e9c1a2709484ef8b1e2f5d6cdf85076dba4;hpb=ddabda845fded2f97bc0e67fa839c36c4ef29d00;p=myplc.git diff --git a/plc.d/network b/plc.d/network index 39d44e9..73ac470 100755 --- a/plc.d/network +++ b/plc.d/network @@ -7,16 +7,16 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id$ -# # Source function library and configuration -. /etc/plc.d/functions -. /etc/planetlab/plc_config +source /etc/plc.d/functions +source /etc/planetlab/plc_config # Be verbose set -x +[ "$PLC_HOSTS_ENABLED" -ne 1 ] && exit 0 + case "$1" in start) MESSAGE=$"Generating network files" @@ -51,6 +51,7 @@ case "$1" in if [ -f /etc/hosts_plc.backup ] ; then mv -f /etc/hosts_plc.backup /etc/hosts fi + dialog "$MESSAGE" result "$MESSAGE" ;; esac