# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id$
+# $Id: api,v 1.8 2007/01/19 20:05:05 mlhuang Exp $
#
# Source function library and configuration
PLC_API_MAINTENANCE_SOURCES=${PLC_API_MAINTENANCE_SOURCES[*]}
plc-config --category=plc_api --variable=maintenance_sources --value="$PLC_API_MAINTENANCE_SOURCES" --save
- # Bootstrap the DB
- db-config
- check
-
result "$MESSAGE"
;;
esac
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id: db,v 1.2 2006/10/27 20:27:04 mlhuang Exp $
+# $Id$
#
# Source function library and configuration
INSERT INTO variable (name, value) VALUES ('site_name', 's:${#PLC_NAME}:"$PLC_NAME";');
EOF
+ # Bootstrap the DB
+ db-config
+ check
+
result "$MESSAGE"
;;
esac