Magellan Linux

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

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

revision 2727 by niro, Thu Oct 8 10:23:56 2015 UTC revision 2728 by niro, Thu Jan 28 14:21:05 2016 UTC
# Line 35  help_citrix_session() Line 35  help_citrix_session()
35   mecho "   print - prints all local configured sessions"   mecho "   print - prints all local configured sessions"
36   mecho "   query - get sessionlist of the farm from given [server]"   mecho "   query - get sessionlist of the farm from given [server]"
37   mecho   mecho
38   mecho "set citrix.session [action] [name] [session] [mode] [user] [domain] [password]"   mecho "set citrix.session [action] [name] [session] [mode] [user] [domain] [password] [autostart]"
39   mecho "  Adds or delets a ICA session."   mecho "  Adds or deletes an ICA session."
40   mecho "  Available actions:"   mecho "  Available actions:"
41   mecho "   add        - adds a new ica session"   mecho "   add        - adds a new ica session"
42   mecho "   del        - deletes ica session with name [name]"   mecho "   del        - deletes an ica session named [name]"
43   mecho "                if no [name] given, all sessions will be deleted"   mecho "                if no [name] given, all sessions will be deleted"
44   mecho   mecho
45   mecho "  Available modes:"   mecho "  Available modes:"
# Line 129  get_citrix_session() Line 129  get_citrix_session()
129  {  {
130   local action="${CLASS_ARGV[0]}"   local action="${CLASS_ARGV[0]}"
131    
132   [[ -z ${action} ]] && help_citrix_serverlist && return 1   [[ -z ${action} ]] && help_citrix_session && return 1
133    
134   case "${action}" in   case "${action}" in
135   print) ${MCORE_LIBDIR}/citrix-session --print ;;   print) ${MCORE_LIBDIR}/citrix-session --print ;;

Legend:
Removed from v.2727  
changed lines
  Added in v.2728