startup scripts : assume initscripts is not installed, only use systemctl
[myplc.git] / plc.d / network
index f2c3dce..73ac470 100755 (executable)
@@ -7,17 +7,15 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # 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_NET_ENABLED" -ne 1 ] && exit 0
+[ "$PLC_HOSTS_ENABLED" -ne 1 ] && exit 0
 
 case "$1" in
     start)