convenience script for coupling with the OMF Experiment Controller
[myplc.git] / plc.d / network
index 9283f58..363a0f6 100755 (executable)
@@ -7,8 +7,6 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id$
-#
 
 # Source function library and configuration
 . /etc/plc.d/functions
@@ -17,6 +15,8 @@
 # Be verbose
 set -x
 
+[ "$PLC_HOSTS_ENABLED" -ne 1 ] && exit 0
+
 case "$1" in
     start)
        MESSAGE=$"Generating network files"