# Mark Huang <mlhuang@cs.princeton.edu>
# 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 \
# Mark Huang <mlhuang@cs.princeton.edu>
# 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 \
# Mark Huang <mlhuang@cs.princeton.edu>
# 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"
# Mark Huang <mlhuang@cs.princeton.edu>
# 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
# Mark Huang <mlhuang@cs.princeton.edu>
# 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
# Mark Huang <mlhuang@cs.princeton.edu>
# 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
# Mark Huang <mlhuang@cs.princeton.edu>
# 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
# Mark Huang <mlhuang@cs.princeton.edu>
# 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"
# Mark Huang <mlhuang@cs.princeton.edu>
# 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"
# Mark Huang <mlhuang@cs.princeton.edu>
# 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
# Mark Huang <mlhuang@cs.princeton.edu>
# 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
# Mark Huang <mlhuang@cs.princeton.edu>
# 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"