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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Tyagov
slapos.package
Commits
dfc8563a
Commit
dfc8563a
authored
Sep 06, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook/ors: init-sdr for 2023 trx_sdr bug
parent
81d90498
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
playbook/roles/ors/files/init-sdr
playbook/roles/ors/files/init-sdr
+7
-3
playbook/sha256sum
playbook/sha256sum
+1
-1
No files found.
playbook/roles/ors/files/init-sdr
View file @
dfc8563a
#!/bin/bash
OLD_AMARISOFT_PATH
=
"/opt/amarisoft/
$(
ls
-1
/opt/amarisoft |
grep
"^v2021-[0-9]
\{
2
\}
-[0-9]
\{
2
\}
$"
|
sort
|
tail
-n1
)
"
AMARISOFT_PATH
=
"/opt/amarisoft/
$(
ls
-1
/opt/amarisoft |
grep
"^v[0-9]
\{
4
\}
-[0-9]
\{
2
\}
-[0-9]
\{
2
\}
$"
|
sort
|
tail
-n1
)
"
export
PATH
=
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
$PATH
"
$AMARISOFT_PATH
/trx_sdr/sdr_util version
&&
exit
;
lsof /dev/sdr0
&&
exit
;
lsmod |
grep
-q
sdr
&&
rmmod sdr
;
if
echo
$AMARISOFT_PATH
|
grep
-q
2023
;
then
cd
$OLD_AMARISOFT_PATH
/trx_sdr/kernel
;
make clean
&&
make
&&
bash init.sh
;
rmmod sdr
;
fi
cd
$AMARISOFT_PATH
/trx_sdr/kernel
;
make clean
;
make
;
bash init.sh
;
make clean
&&
make
&&
bash init.sh
;
playbook/sha256sum
View file @
dfc8563a
9499d4f0e5e31ced58dd082cd3c7b8958b0a6832a7b8733db62c608002a62a2d
-
32d040685a3d3cbc9b2a368a9f38a3d1bc47e4289ea14f7395bbf64121e3d08e
-
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