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:" |
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 ;; |