cannot run db-config in api script, since the password is being setup manually here
[myplc.git] / plc.d / api
index c88ed31..1f9d138 100755 (executable)
--- a/plc.d/api
+++ b/plc.d/api
@@ -8,7 +8,7 @@
 # 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
@@ -48,10 +48,6 @@ case "$1" in
        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