git://git.onelab.eu
/
myplc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added planetflow configuration
[myplc.git]
/
plc.d
/
bootcd
diff --git
a/plc.d/bootcd
b/plc.d/bootcd
index
dc7bf5e
..
1faf045
100755
(executable)
--- a/
plc.d/bootcd
+++ b/
plc.d/bootcd
@@
-7,18
+7,21
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
# 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$
#
# Source function library and configuration
. /etc/plc.d/functions
. /etc/planetlab/plc_config
#
# 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 \
"$PLC_WWW_ENABLED" != "1" ] ; then
case "$1" in
start)
if [ "$PLC_BOOT_ENABLED" != "1" -a \
"$PLC_WWW_ENABLED" != "1" ] ; then
-
return
0
+
exit
0
fi
MESSAGE=$"Rebuilding Boot CD"
fi
MESSAGE=$"Rebuilding Boot CD"
@@
-26,7
+29,7
@@
case "$1" in
# Customize the Boot CD
pushd /var/www/html/download
# Customize the Boot CD
pushd /var/www/html/download
- /usr/share/bootcd/build.sh
+ /usr/share/bootcd/build.sh
${PLC_BUILD_ALL_BOOTCDS:+-a}
check
popd
check
popd