Magellan Linux

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

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

revision 2604 by niro, Fri Sep 18 13:12:56 2015 UTC revision 2642 by niro, Thu Oct 8 10:23:56 2015 UTC
# Line 31  help_storefront_session() Line 31  help_storefront_session()
31   mecho "   print - prints all local configured sessions"   mecho "   print - prints all local configured sessions"
32   mecho "   query - get sessionlist of the farm from given [server]"   mecho "   query - get sessionlist of the farm from given [server]"
33   mecho   mecho
34   mecho "set storefront.session [action] [name] [session] [store] [user] [domain] [password]"   mecho "set storefront.session [action] [name] [session] [store] [user] [domain] [password] [autostart]"
35   mecho "  Adds or delets a storefront session."   mecho "  Adds or delets a storefront session."
36   mecho "  Available actions:"   mecho "  Available actions:"
37   mecho "   add        - adds a new storefront session"   mecho "   add        - adds a new storefront session"
# Line 43  help_storefront_session() Line 43  help_storefront_session()
43   mecho "   user       - user inside the session - optional"   mecho "   user       - user inside the session - optional"
44   mecho "   domain     - logon domain of the user - optional"   mecho "   domain     - logon domain of the user - optional"
45   mecho "   password   - password of the user - optional"   mecho "   password   - password of the user - optional"
46     mecho "   autostart  - session autostart 0=off 1=on- optional"
47  }  }
48    
49  set_storefront_session()  set_storefront_session()
# Line 54  set_storefront_session() Line 55  set_storefront_session()
55   local user="${CLASS_ARGV[4]}"   local user="${CLASS_ARGV[4]}"
56   local domain="${CLASS_ARGV[5]}"   local domain="${CLASS_ARGV[5]}"
57   local password="${CLASS_ARGV[6]}"   local password="${CLASS_ARGV[6]}"
58     local autostart="${CLASS_ARGV[7]}"
59   local i   local i
60    
61   [[ -z ${action} ]] && help_storefront_session && return 1   [[ -z ${action} ]] && help_storefront_session && return 1
# Line 75  set_storefront_session() Line 77  set_storefront_session()
77   --store "${store}" \   --store "${store}" \
78   --user "${user}" \   --user "${user}" \
79   --domain "${domain}" \   --domain "${domain}" \
80   --password "${password}"   --password "${password}" \
81     --autostart "${autostart}"
82   ;;   ;;
83    
84   del)   del)

Legend:
Removed from v.2604  
changed lines
  Added in v.2642