Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
13
Merge Requests
13
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
fe4d8a55
Commit
fe4d8a55
authored
Sep 25, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook/ors: check hardware first in get-sdr-info
parent
7b46d0ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
210 additions
and
211 deletions
+210
-211
playbook/roles/ors/files/get-sdr-info
playbook/roles/ors/files/get-sdr-info
+209
-210
playbook/sha256sum
playbook/sha256sum
+1
-1
No files found.
playbook/roles/ors/files/get-sdr-info
View file @
fe4d8a55
#!/bin/bash
#!/bin/bash
ORS
=
"
$(
hostname
|
sed
's/ors\(.*\)/\1/g'
)
"
IPRODUCT
=
"
$(
lsusb
-d
0403:6014
-v
2> /dev/null |sed
-n
's/^ iProduct.*ORS \(.*\)$/\1/gp'
)
"
ISERIAL
=
"
$(
lsusb
-d
0403:6014
-v
2> /dev/null |sed
-n
's/^ iSerial *[0-9]* \(.*\)$/\1/gp'
)
"
case
"
$ORS
"
in
if
[
-z
"
$IPRODUCT
"
]
;
then
0
)
ORS
=
"
$(
hostname
|
sed
's/ors\(.*\)/\1/g'
)
"
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A0"
;;
case
"
$ORS
"
in
1
)
0
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A1"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A0"
;;
2
)
1
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A2"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A1"
;;
3
)
2
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A3"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A2"
;;
4
)
3
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A4"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A3"
;;
5
)
4
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B49"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A4"
;;
6
)
5
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A7"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B49"
;;
8
)
6
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A8"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A7"
;;
9
)
8
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B27"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A8"
;;
10
)
9
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B22"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B27"
;;
11
)
10
)
TDD
=
"TDD"
;
BAND
=
"B42"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B44"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B22"
;;
13
)
11
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
TDD
=
"TDD"
;
BAND
=
"B42"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B44"
;;
14
)
13
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B24"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
15
)
14
)
TDD
=
"TDD"
;
BAND
=
"B42"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B41"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B24"
;;
16
)
15
)
TDD
=
"TDD"
;
BAND
=
"B42"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B43"
;;
TDD
=
"TDD"
;
BAND
=
"B42"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B41"
;;
17
)
16
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B46"
;;
TDD
=
"TDD"
;
BAND
=
"B42"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B43"
;;
18
)
17
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B47"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B46"
;;
19
)
18
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B47"
;;
20
)
19
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B33"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
21
)
20
)
TDD
=
"TDD"
;
BAND
=
"B42"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B42"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B33"
;;
22
)
21
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B30"
;;
TDD
=
"TDD"
;
BAND
=
"B42"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B42"
;;
23
)
22
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B48"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B30"
;;
24
)
23
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B34"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B48"
;;
25
)
24
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B18"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B34"
;;
26
)
25
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B31"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B18"
;;
27
)
26
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B38"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B31"
;;
28
)
27
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B35"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B38"
;;
29
)
28
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B35"
;;
30
)
29
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B50"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
31
)
30
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B51"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B50"
;;
32
)
31
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B51"
;;
33
)
32
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
34
)
33
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
35
)
34
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
36
)
35
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
37
)
36
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B65"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
38
)
37
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B60"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B65"
;;
39
)
38
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B61"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B60"
;;
40
)
39
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B64"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B61"
;;
41
)
40
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B57"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B64"
;;
42
)
41
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B26"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B57"
;;
43
)
42
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B29"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B26"
;;
44
)
43
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B36"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B29"
;;
45
)
44
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B37"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B36"
;;
46
)
45
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B39"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B37"
;;
47
)
46
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B28"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B39"
;;
48
)
47
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B66"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B28"
;;
49
)
48
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B67"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B66"
;;
50
)
49
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B23"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B67"
;;
51
)
50
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B59"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B23"
;;
52
)
51
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B56"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B59"
;;
53
)
52
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B58"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B56"
;;
54
)
53
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B68"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B58"
;;
55
)
54
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B52"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B68"
;;
56
)
55
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B5"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B52"
;;
57
)
56
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B25"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B5"
;;
58
)
57
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B70"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B25"
;;
59
)
58
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B71"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B70"
;;
60
)
59
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B72"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B71"
;;
61
)
60
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A5"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B72"
;;
62
)
61
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A6"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A5"
;;
63
)
62
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B73"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.2"
;
ISERIAL
=
"A6"
;;
64
)
63
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B74"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B73"
;;
65
)
64
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B75"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B74"
;;
66
)
65
)
TDD
=
"TDD"
;
BAND
=
"N79"
;
VERSION
=
"4.5"
;
ISERIAL
=
"F4"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B75"
;;
67
)
66
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B20"
;;
TDD
=
"TDD"
;
BAND
=
"N79"
;
VERSION
=
"4.5"
;
ISERIAL
=
"F4"
;;
68
)
67
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D1"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B20"
;;
69
)
68
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B3"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D1"
;;
70
)
69
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B0"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B3"
;;
71
)
70
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B77"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B0"
;;
72
)
71
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B78"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B77"
;;
73
)
72
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B79"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B78"
;;
74
)
73
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B80"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B79"
;;
75
)
74
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D2"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B80"
;;
76
)
75
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B1"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D2"
;;
77
)
76
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B81"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B1"
;;
79
)
77
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D24"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B81"
;;
80
)
79
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D11"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D24"
;;
81
)
80
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D3"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D11"
;;
82
)
81
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D23"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D3"
;;
83
)
82
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D25"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D23"
;;
84
)
83
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D22"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D25"
;;
85
)
84
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D12"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D22"
;;
86
)
85
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D12"
;;
87
)
86
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D13"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"3.4"
;
ISERIAL
=
"UNKNOWN"
;;
88
)
87
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D14"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D13"
;;
89
)
88
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D18"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D14"
;;
90
)
89
)
TDD
=
"TDD"
;
BAND
=
"B42"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D6"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D18"
;;
91
)
90
)
TDD
=
"FDD"
;
BAND
=
"B28"
;
VERSION
=
"4.4"
;
ISERIAL
=
"E1"
;;
TDD
=
"TDD"
;
BAND
=
"B42"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D6"
;;
92
)
91
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D29"
;;
TDD
=
"FDD"
;
BAND
=
"B28"
;
VERSION
=
"4.4"
;
ISERIAL
=
"E1"
;;
93
)
92
)
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D26"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D29"
;;
94
)
93
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D16"
;;
TDD
=
"TDD"
;
BAND
=
"B43"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D26"
;;
96
)
94
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D19"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D16"
;;
97
)
96
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D15"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D19"
;;
98
)
97
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D20"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D15"
;;
99
)
98
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D17"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D20"
;;
100
)
99
)
TDD
=
"TDD"
;
BAND
=
"N77"
;
VERSION
=
"4.5"
;
ISERIAL
=
"F1"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"4.2"
;
ISERIAL
=
"D17"
;;
101
)
100
)
TDD
=
"TDD"
;
BAND
=
"N77"
;
VERSION
=
"4.5"
;
ISERIAL
=
"F2"
;;
TDD
=
"TDD"
;
BAND
=
"N77"
;
VERSION
=
"4.5"
;
ISERIAL
=
"F1"
;;
102
)
101
)
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B76"
;;
TDD
=
"TDD"
;
BAND
=
"N77"
;
VERSION
=
"4.5"
;
ISERIAL
=
"F2"
;;
103
)
102
)
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"4.4"
;
ISERIAL
=
"E7"
;;
TDD
=
"TDD"
;
BAND
=
"B38"
;
VERSION
=
"3.4"
;
ISERIAL
=
"B76"
;;
*
)
103
)
TDD
=
"UNKNOWN"
;
BAND
=
"UNKNOWN"
;
VERSION
=
"UNKNOWN"
;
ISERIAL
=
"UNKNOWN"
;;
TDD
=
"TDD"
;
BAND
=
"B39"
;
VERSION
=
"4.4"
;
ISERIAL
=
"E7"
;;
esac
*
)
TDD
=
"UNKNOWN"
;
BAND
=
"UNKNOWN"
;
VERSION
=
"UNKNOWN"
;
ISERIAL
=
"UNKNOWN"
;;
if
[[
"
$TDD
"
==
"UNKNOWN"
]]
;
then
esac
IPRODUCT
=
"
$(
lsusb
-d
0403:6014
-v
2> /dev/null |sed
-n
's/^ iProduct.*ORS \(.*\)$/\1/gp'
)
"
else
ISERIAL
=
"
$(
lsusb
-d
0403:6014
-v
2> /dev/null |sed
-n
's/^ iSerial *[0-9]* \(.*\)$/\1/gp'
)
"
test
-z
"
$IPRODUCT
"
&&
IPRODUCT
=
"TDDUNKNOWN 3.2"
;
test
-z
"
$ISERIAL
"
&&
ISERIAL
=
"UNKNOWN"
;
test
-z
"
$ISERIAL
"
&&
ISERIAL
=
"UNKNOWN"
;
TDD
=
"
${
IPRODUCT
[@]
:0:3
}
"
TDD
=
"
${
IPRODUCT
[@]
:0:3
}
"
IPRODUCT
=
"
${
IPRODUCT
[@]
:3
}
"
IPRODUCT
=
"
${
IPRODUCT
[@]
:3
}
"
...
...
playbook/sha256sum
View file @
fe4d8a55
ee08d5e3709ea1f504946fa5665cc01586503cd126aebdf171e160879b37be79
-
a4d5797927f9921b315c6dfcb04bda8bd04ff9eabe892822a46b8b6c75c8551e
-
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment