##############################################################################
# Copyright (c) Members of the EGEE Collaboration. 2004.
# See http://www.eu-egee.org/partners/ for details on the copyright
# holders.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
##############################################################################
#
# NAME :        config_gip_px
#
# DESCRIPTION : This function configures the generic information providor (GIP)
#               for MyProxy (PX) node.
#
# AUTHORS :     Shu-Ting.Liao@cern.ch
#               
# NOTES :       The config_gip_<node_type> function creates the ldif file. 
#               This is currently done by the function config_info_service_<node_type>.
#               This function is still included in the function list for cleaning tasks. 
#               
#
# YAIM MODULE:  glite-yaim-myproxy
#
##############################################################################
config_gip_px_check () {
   yaimlog DEBUG "This function currently doesn't set any environment variables."
}

config_gip_px_setenv () {
   yaimlog DEBUG "This function currently doesn't set any environment variables."
}

config_gip_px () {

CONF_DIR="$INSTALL_ROOT/glite/var/tmp/gip"
LDIF_DIR="${INSTALL_ROOT}/glite/etc/gip/ldif"

rm -rf ${CONF_DIR}/glite-info-static-px.conf
rm -rf ${LDIF_DIR}/static-file-PX.ldif

return 0

}
