From: František Dvořák Date: Wed, 18 Jul 2012 12:03:07 +0000 (+0000) Subject: YAIM variable for disabling sending usage statistics (SB #94645) - forgotten the... X-Git-Tag: gridsite-core_R_1_7_22~17 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=f945a3dbab1c6697c3c8ab3457d4704c2aa592ae;p=jra1mw.git YAIM variable for disabling sending usage statistics (SB #94645) - forgotten the core part. :-) --- diff --git a/org.glite.px.myproxy-yaim/config/functions/config_proxy_server b/org.glite.px.myproxy-yaim/config/functions/config_proxy_server index 23ae8bd..0f62293 100644 --- a/org.glite.px.myproxy-yaim/config/functions/config_proxy_server +++ b/org.glite.px.myproxy-yaim/config/functions/config_proxy_server @@ -94,10 +94,11 @@ fi for VALUE in GRID_AUTHORIZED_RENEWERS GRID_DEFAULT_RENEWERS \ GRID_AUTHORIZED_RETRIEVERS GRID_DEFAULT_RETRIEVERS \ GRID_AUTHORIZED_KEY_RETRIEVERS GRID_DEFAULT_KEY_RETRIEVERS \ - GRID_TRUSTED_RETRIEVERS GRID_DEFAULT_TRUSTED_RETRIEVERS + GRID_TRUSTED_RETRIEVERS GRID_DEFAULT_TRUSTED_RETRIEVERS \ + MYPROXY_DISABLE_USAGE_STATS do - KEY=`echo $VALUE | sed 's/^GRID_//' | tr "[:upper:]" "[:lower:]"` + KEY=`echo $VALUE | sed -e 's/^GRID_//' -e 's/^MYPROXY_//' | tr "[:upper:]" "[:lower:]"` echo "#Adding YAIM value $VALUE if any as $KEY values" >> $MYPROXY_CONF_NEW split_quoted_variable ${!VALUE} | while read x; do test "x$x" != "x" && echo "$KEY \"$x\"" >> $MYPROXY_CONF_NEW