Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/citrix/storefront.control.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2569 by niro, Thu Sep 17 10:12:41 2015 UTC revision 2575 by niro, Thu Sep 17 10:44:16 2015 UTC
# Line 1  Line 1 
1  # $Id$  # $Id$
2    
3  push_config storefront10_store storefront20_session  push_config 70_storefront_store 80_storefront_session
4    
5  help_storefront_store()  help_storefront_store()
6  {  {
# Line 53  set_storefront_session() Line 53  set_storefront_session()
53  control_storefront_session()  control_storefront_session()
54  {  {
55   local serial="${CLASS_ARGV[0]}"   local serial="${CLASS_ARGV[0]}"
56   push_config_storefront20_session "${serial}"   push_config_80_storefront_session "${serial}"
57  }  }
58    
59  push_config_storefront20_session()  push_config_80_storefront_session()
60  {  {
61   local serial="$1"   local serial="$1"
62   local values   local values
# Line 66  push_config_storefront20_session() Line 66  push_config_storefront20_session()
66   for id in ${values}   for id in ${values}
67   do   do
68   evaluate_table_xml cfg_sessions_storefront "where serial='${serial}'"   evaluate_table_xml cfg_sessions_storefront "where serial='${serial}'"
69   if [[ -z ${cfg_sessions_storefront_name} ]]   if [[ -z ${cfg_sessions_storefront_session} ]]
70   then   then
71   eecho "Name must not be empty id->'${id}'"   eecho "Session must not be empty id->'${id}'"
72   continue   continue
73   fi   fi
74   if [[ -z ${cfg_sessions_storefront_enabled} ]]   if [[ -z ${cfg_sessions_storefront_enabled} ]]
# Line 126  set_storefront_store() Line 126  set_storefront_store()
126  control_storefront_store()  control_storefront_store()
127  {  {
128   local serial="${CLASS_ARGV[0]}"   local serial="${CLASS_ARGV[0]}"
129   push_config_storefront10_store "${serial}"   push_config_70_storefront_store "${serial}"
130  }  }
131    
132  push_config_storefront10_store()  push_config_70_storefront_store()
133  {  {
134   local serial="$1"   local serial="$1"
135   local values   local values

Legend:
Removed from v.2569  
changed lines
  Added in v.2575