Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
spbro
OpenXG-RAN
Commits
537b721b
Commit
537b721b
authored
Jun 02, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LTE UE entry script: print both configs if present
parent
5f9904b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
8 deletions
+17
-8
docker/scripts/lte_ue_entrypoint.sh
docker/scripts/lte_ue_entrypoint.sh
+17
-8
No files found.
docker/scripts/lte_ue_entrypoint.sh
View file @
537b721b
...
...
@@ -3,21 +3,31 @@
set
-uo
pipefail
PREFIX
=
/opt/oai-lte-ue
CONFIGFILE
=
$PREFIX
/etc/ue_usim.conf
USIM_
CONFIGFILE
=
$PREFIX
/etc/ue_usim.conf
if
[
!
-f
$CONFIGFILE
]
;
then
echo
"No
configuration file found: please mount at
$
CONFIGFILE
"
if
[
!
-f
$
USIM_
CONFIGFILE
]
;
then
echo
"No
ue_usim.conf configuration file found: please mount at
$USIM_
CONFIGFILE
"
exit
255
fi
echo
"=================================="
echo
"== Configuration file:"
cat
$CONFIGFILE
echo
"==
USIM
Configuration file:"
cat
$
USIM_
CONFIGFILE
#now generate USIM files
# At this point all operations will be run from $PREFIX!
cd
$PREFIX
$PREFIX
/bin/conf2uedata
-c
$CONFIGFILE
-o
$PREFIX
$PREFIX
/bin/conf2uedata
-c
$USIM_CONFIGFILE
-o
$PREFIX
CONFIGFILE
=
$PREFIX
/etc/ue.conf
if
[
!
-f
$CONFIGFILE
]
;
then
echo
"No ue.conf configuration file found"
else
echo
"=================================="
echo
"== UE Configuration file:"
cat
$CONFIGFILE
fi
# Load the USRP binaries
echo
"=================================="
...
...
@@ -36,10 +46,9 @@ while [[ $# -gt 0 ]]; do
new_args+
=(
"
$1
"
)
shift
done
FILE
=
$PREFIX
/etc/ue.conf
if
[[
-f
"
$FILE
"
]]
;
then
new_args+
=(
"-O"
)
new_args+
=(
"
$
PREFIX
/etc/ue.conf
"
)
new_args+
=(
"
$
CONFIGFILE
"
)
fi
# enable printing of stack traces on assert
...
...
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