From 00486e6f391586f05c8439ab2f8986f106b0535c Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Mon, 10 Apr 2006 15:53:49 +0000 Subject: [PATCH] - only source configuration if it exists to avoid bootstrap warning --- plc.d/functions | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plc.d/functions b/plc.d/functions index 76869d4..71aaf3f 100644 --- a/plc.d/functions +++ b/plc.d/functions @@ -5,7 +5,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: functions,v 1.1 2006/04/06 21:51:59 mlhuang Exp $ +# $Id: functions,v 1.2 2006/04/07 04:27:56 mlhuang Exp $ # export PATH=/sbin:/bin:/usr/bin:/usr/sbin @@ -13,8 +13,10 @@ export PATH=/sbin:/bin:/usr/bin:/usr/sbin # Source function library . /etc/init.d/functions -# Source configuration -. /etc/planetlab/plc_config +# Source configuration if it exists +if [ -f /etc/planetlab/plc_config ] ; then + . /etc/planetlab/plc_config +fi # Total number of errors ERRORS=0 -- 2.43.0