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
canghaiwuhen
OpenXG-RAN
Commits
ec702b7e
Commit
ec702b7e
authored
Dec 04, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6163
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
9ffd4f29
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
3 deletions
+23
-3
targets/PROJECTS/GENERIC-LTE-EPC/start_hss.bash
targets/PROJECTS/GENERIC-LTE-EPC/start_hss.bash
+23
-3
No files found.
targets/PROJECTS/GENERIC-LTE-EPC/start_hss.bash
View file @
ec702b7e
...
@@ -36,27 +36,47 @@
...
@@ -36,27 +36,47 @@
# INPUT OF THIS SCRIPT: NONE
# INPUT OF THIS SCRIPT: NONE
#########################################
#########################################
# This script start HSS component
# This script start HSS component
#
#
###########################################################
###########################################################
THIS_SCRIPT_PATH
=
$(
dirname
$(
readlink
-f
$0
))
THIS_SCRIPT_PATH
=
$(
dirname
$(
readlink
-f
$0
))
.
$THIS_SCRIPT_PATH
/utils.bash
.
$THIS_SCRIPT_PATH
/utils.bash
###########################################################
###########################################################
HSS_CONFIG_FILE
=
"
$OPENAIRCN_DIR
/OPENAIRHSS/conf/hss.conf"
######################################
######################################
# CHECK MISC SOFTWARES AND LIBS #
# CHECK MISC SOFTWARES AND LIBS #
######################################
######################################
check_install_hss_software
#
check_install_hss_software
######################################
######################################
# compile HSS #
# compile HSS #
######################################
######################################
compile_hss
compile_hss
######################################
# Check realm in certificate #
######################################
TMP_FILE
=
"/tmp/
$(
basename
$0
)
.
$RANDOM
.txt"
sed
-r
's/\s+//g'
$HSS_CONFIG_FILE
>
$TMP_FILE
source
$TMP_FILE
rm
-f
$TMP_FILE
TMP_FILE
=
"/tmp/
$(
basename
$0
)
.
$RANDOM
.txt"
sed
-r
's/\s+//g'
$OPENAIRCN_DIR
/OPENAIRHSS/conf/
$FD_conf
|
grep
Identity |
tr
-d
";
\"
"
|
cut
-d
'='
-f2
>
$TMP_FILE
HSS_IDENTITY
=
$(
cat
$TMP_FILE
)
# we should replace 'hss' with hostname
REALM
=
${
HSS_IDENTITY
##hss
}
REALM
=
${
REALM
##.
}
echo
"REALM FOUND=
$REALM
"
# arg is realm
check_hss_s6a_certificate
$REALM
######################################
######################################
# LAUNCH HSS #
# LAUNCH HSS #
######################################
######################################
$OPENAIRCN_DIR
/OPENAIRHSS/objs/openair-hss
-c
$
OPENAIRCN_DIR
/OPENAIRHSS/conf/hss.conf
$OPENAIRCN_DIR
/OPENAIRHSS/objs/openair-hss
-c
$
HSS_CONFIG_FILE
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