From f51604ac9a0f76a71d698952c7bbba1fcb46b3af Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Fri, 23 Jun 2006 20:29:22 +0000 Subject: [PATCH] be verbose --- plc.d/bootcd | 5 ++++- plc.d/bootmanager | 5 ++++- plc.d/crond | 5 ++++- plc.d/dns | 5 ++++- plc.d/gpg | 5 ++++- plc.d/httpd | 5 ++++- plc.d/mail | 5 ++++- plc.d/network | 5 ++++- plc.d/packages | 5 ++++- plc.d/postgresql | 5 ++++- plc.d/ssh | 5 ++++- plc.d/syslog | 5 ++++- 12 files changed, 48 insertions(+), 12 deletions(-) diff --git a/plc.d/bootcd b/plc.d/bootcd index dc7bf5e..ca5a65e 100755 --- a/plc.d/bootcd +++ b/plc.d/bootcd @@ -7,13 +7,16 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: bootcd,v 1.1 2006/04/06 21:51:59 mlhuang Exp $ +# $Id: bootcd,v 1.2 2006/04/25 21:18:19 mlhuang Exp $ # # Source function library and configuration . /etc/plc.d/functions . /etc/planetlab/plc_config +# Be verbose +set -x + case "$1" in start) if [ "$PLC_BOOT_ENABLED" != "1" -a \ diff --git a/plc.d/bootmanager b/plc.d/bootmanager index f2d08c8..3fd204a 100755 --- a/plc.d/bootmanager +++ b/plc.d/bootmanager @@ -7,13 +7,16 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: bootmanager,v 1.1 2006/04/06 21:51:59 mlhuang Exp $ +# $Id: bootmanager,v 1.2 2006/04/25 21:18:19 mlhuang Exp $ # # Source function library and configuration . /etc/plc.d/functions . /etc/planetlab/plc_config +# Be verbose +set -x + case "$1" in start) if [ "$PLC_BOOT_ENABLED" != "1" -a \ diff --git a/plc.d/crond b/plc.d/crond index 48fcf38..34f371c 100755 --- a/plc.d/crond +++ b/plc.d/crond @@ -7,13 +7,16 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: crond,v 1.3 2006/05/22 21:12:17 mlhuang Exp $ +# $Id: crond,v 1.4 2006/05/26 19:57:30 mlhuang Exp $ # # Source function library and configuration . /etc/plc.d/functions . /etc/planetlab/plc_config +# Be verbose +set -x + case "$1" in start) MESSAGE=$"Starting crond" diff --git a/plc.d/dns b/plc.d/dns index ac639e4..8c8f87c 100755 --- a/plc.d/dns +++ b/plc.d/dns @@ -8,13 +8,16 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: dns,v 1.1 2006/05/23 18:10:08 mlhuang Exp $ +# $Id: dns,v 1.2 2006/05/26 19:57:30 mlhuang Exp $ # # Source function library and configuration . /etc/plc.d/functions . /etc/planetlab/plc_config +# Be verbose +set -x + case "$1" in start) if [ "$PLC_DNS_ENABLED" != "1" ] ; then diff --git a/plc.d/gpg b/plc.d/gpg index 48c643e..04ef2fc 100755 --- a/plc.d/gpg +++ b/plc.d/gpg @@ -7,13 +7,16 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: gpg,v 1.5 2006/05/17 22:52:09 mlhuang Exp $ +# $Id: gpg,v 1.6 2006/05/18 17:34:10 mlhuang Exp $ # # Source function library and configuration . /etc/plc.d/functions . /etc/planetlab/plc_config +# Be verbose +set -x + case "$1" in start) if [ ! -f $PLC_ROOT_GPG_KEY_PUB -o ! -f $PLC_ROOT_GPG_KEY ] ; then diff --git a/plc.d/httpd b/plc.d/httpd index 5dba112..9741e82 100755 --- a/plc.d/httpd +++ b/plc.d/httpd @@ -7,13 +7,16 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: httpd,v 1.1 2006/04/06 21:51:59 mlhuang Exp $ +# $Id: httpd,v 1.2 2006/04/25 21:18:19 mlhuang Exp $ # # Source function library and configuration . /etc/plc.d/functions . /etc/planetlab/plc_config +# Be verbose +set -x + # Default locations DocumentRoot=/var/www/html php_ini=/etc/php.ini diff --git a/plc.d/mail b/plc.d/mail index 6698a68..65b0723 100755 --- a/plc.d/mail +++ b/plc.d/mail @@ -7,13 +7,16 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: mail,v 1.1 2006/04/24 15:49:32 mlhuang Exp $ +# $Id: mail,v 1.2 2006/04/25 21:18:19 mlhuang Exp $ # # Source function library and configuration . /etc/plc.d/functions . /etc/planetlab/plc_config +# Be verbose +set -x + case "$1" in start) if [ "$PLC_MAIL_ENABLED" != "1" ] ; then diff --git a/plc.d/network b/plc.d/network index f84d9aa..8c7cf95 100755 --- a/plc.d/network +++ b/plc.d/network @@ -7,13 +7,16 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: network,v 1.3 2006/05/16 17:09:34 mlhuang Exp $ +# $Id: network,v 1.4 2006/05/23 18:10:08 mlhuang Exp $ # # Source function library and configuration . /etc/plc.d/functions . /etc/planetlab/plc_config +# Be verbose +set -x + case "$1" in start) MESSAGE=$"Generating network files" diff --git a/plc.d/packages b/plc.d/packages index 6c6862c..a19422f 100755 --- a/plc.d/packages +++ b/plc.d/packages @@ -7,13 +7,16 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: packages,v 1.1 2006/05/18 17:36:39 mlhuang Exp $ +# $Id: packages,v 1.2 2006/05/18 22:58:20 mlhuang Exp $ # # Source function library and configuration . /etc/plc.d/functions . /etc/planetlab/plc_config +# Be verbose +set -x + case "$1" in start) MESSAGE=$"Signing node packages" diff --git a/plc.d/postgresql b/plc.d/postgresql index d868545..f777a55 100755 --- a/plc.d/postgresql +++ b/plc.d/postgresql @@ -7,13 +7,16 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: postgresql,v 1.2 2006/04/25 21:18:19 mlhuang Exp $ +# $Id: postgresql,v 1.3 2006/05/02 23:52:50 mlhuang Exp $ # # Source function library and configuration . /etc/plc.d/functions . /etc/planetlab/plc_config +# Be verbose +set -x + # Default locations PGDATA=/var/lib/pgsql/data postgresql_conf=$PGDATA/postgresql.conf diff --git a/plc.d/ssh b/plc.d/ssh index 1cc3ac1..d629074 100755 --- a/plc.d/ssh +++ b/plc.d/ssh @@ -7,13 +7,16 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: ssh,v 1.1 2006/04/06 21:51:59 mlhuang Exp $ +# $Id: ssh,v 1.2 2006/04/25 21:18:19 mlhuang Exp $ # # Source function library and configuration . /etc/plc.d/functions . /etc/planetlab/plc_config +# Be verbose +set -x + # XXX Could make these configurable KEY_TYPE_ROOT=rsa KEY_LEN_ROOT=1024 diff --git a/plc.d/syslog b/plc.d/syslog index 9dc7a06..4a9a206 100755 --- a/plc.d/syslog +++ b/plc.d/syslog @@ -10,13 +10,16 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: syslog,v 1.1 2006/04/06 21:51:59 mlhuang Exp $ +# $Id: syslog,v 1.2 2006/04/25 21:18:19 mlhuang Exp $ # # Source function library and configuration . /etc/plc.d/functions . /etc/planetlab/plc_config +# Be verbose +set -x + case "$1" in start) MESSAGE=$"Starting system logger" -- 2.43.0