Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
config-amarisoft
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
nexedi
config-amarisoft
Commits
7a65f77d
Commit
7a65f77d
authored
Sep 27, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dependency to get-sdr-info script
parent
c86a1fa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
install-amarisoft.sh
install-amarisoft.sh
+4
-3
No files found.
install-amarisoft.sh
View file @
7a65f77d
...
...
@@ -5,8 +5,9 @@ set -x
usage
()
{
cat
<<
ENDUSAGE
Usage:
$0
[-h] 2021_AMARISOFT_TAR_PATH AMARISOFT_TAR_PATH
Usage:
$0
[-h] 2021_AMARISOFT_TAR_PATH AMARISOFT_TAR_PATH
BAND
-h Show help
BAND B28, B38, B39, B42, B43, N77, N78 or N79
ENDUSAGE
1>&2
}
...
...
@@ -24,12 +25,12 @@ while getopts "h" opt; do
done
shift
$((
OPTIND-1
))
if
[
"$#"
-ne
2
]
;
then
if
[
"$#"
-ne
3
]
;
then
usage
;
exit
fi
ORS_NUMBER
=
"
$(
hostname
|sed
's/ors\([0-9]*\)/\1/g'
)
"
BAND
=
"
$
(
/opt/amarisoft/get-sdr-info
-b
)
"
BAND
=
"
$
3
"
OLD_AMARISOFT_TAR
=
"
$(
realpath
$1
)
"
AMARISOFT_TAR
=
"
$(
realpath
$2
)
"
...
...
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