-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
72 lines (58 loc) · 2.25 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
ABOUT
With this module, FusionInventory can accept OCS Inventory software
deployment order.
With this module, the agent is also able to do peer to peer file
exchange with the other FusionInventory Agent.
OCS Software Deployment internal:
period()
for i in PERIOD_LENGTH
foreach priority
foreach package per priority
' download each frags
' sleep()FRAG_LATENCY
- then sleep(CYCLE_LATENCY)
- at the end sleep(PERIOD_LATENCY)
Info file:
<DOWNLOAD
ID="1270501158"
PRI="5" ← Priority 0 to 10
ACT="STORE" ← Action, can be STORE/LAUNCH/EXECUTE
DIGEST="f6ebcc9828a6f5cabe6d0f2eb31aa656" ← MD5 of the final archive
PROTO="HTTP" ← The protocle to use to retrieve the archive parts
FRAGS="5" ← number of parts of the archive
DIGEST_ALGO="MD5" ← the digest method. can't be changed
DIGEST_ENCODE="Hexa" ← the digest encoding. can't changed
PATH="/root" ← Where to extract the archive if ACT=STORE
NAME="" ← command to exec if ACT=LAUNCH
COMMAND="" ← Command to run if ACT=EXECUTE
NOTIFY_USER="0" ← Windows user pop-up
NOTIFY_TEXT="" ← Windows user pop test
NOTIFY_COUNTDOWN="" ← etc
NOTIFY_CAN_ABORT="0"
NOTIFY_CAN_DELAY="0"
NEED_DONE_ACTION="0"
NEED_DONE_ACTION_TEXT=""
GARDEFOU="rien"
/>
Storage:
FILE are stored this way
1270501158/
1270501158/info
1270501158/1270501158-1
1270501158/1270501158-2
1270501158/1270501158-3
1270501158/1270501158-4
1270501158/1270501158-5
LICENSE
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
USA