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" |
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() |
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 |
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) |