#
# description: Manages all PLC services on this machine
#
-# $Id: guest.init,v 1.12 2006/04/04 22:09:47 mlhuang Exp $
+# $Id: guest.init,v 1.13 2006/04/06 21:51:59 mlhuang Exp $
#
# Source function library and configuration
# Regenerate configuration files
reload ()
{
- # Load configuration
+ # Regenerate the main configuration file from default values
+ # overlaid with site-specific values.
+ plc-config --xml \
+ /etc/planetlab/default_config.xml \
+ /etc/planetlab/configs/* \
+ >/etc/planetlab/plc_config.xml
+
+ # Shell constants
plc-config --shell >/etc/planetlab/plc_config
. /etc/planetlab/plc_config