hss hostname in config
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6373 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -307,7 +307,8 @@ check_install_freediamter(){
|
|||||||
|
|
||||||
|
|
||||||
test_is_host_reachable() {
|
test_is_host_reachable() {
|
||||||
ping -c 1 $1 > /dev/null || { echo_fatal "$1 does not respond to ping" >&2 ; }
|
ping -c 1 $1 > /dev/null || { echo_fatal "$2 host $1 does not respond to ping" >&2 ; }
|
||||||
|
echo_success "$2 host $1 is reachable"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -563,6 +563,7 @@ build_epc(){
|
|||||||
|
|
||||||
TEMP_FILE=`tempfile`
|
TEMP_FILE=`tempfile`
|
||||||
VARIABLES=" S6A_CONF\|\
|
VARIABLES=" S6A_CONF\|\
|
||||||
|
HSS_HOSTNAME\|\
|
||||||
REALM"
|
REALM"
|
||||||
|
|
||||||
VARIABLES=$(echo $VARIABLES | sed -e 's/\\r//g')
|
VARIABLES=$(echo $VARIABLES | sed -e 's/\\r//g')
|
||||||
@@ -802,7 +803,7 @@ if [ $RUN -ne 0 ]; then
|
|||||||
|
|
||||||
'EPC')
|
'EPC')
|
||||||
echo "############# running EPC #############"
|
echo "############# running EPC #############"
|
||||||
#test_is_host_reachable
|
test_is_host_reachable $HSS_HOSTNAME.$REALM HSS
|
||||||
if [ $RUN_GDB -eq 0 ]; then
|
if [ $RUN_GDB -eq 0 ]; then
|
||||||
$SUDO $OPENAIR_TARGETS/bin/oai_epc `echo $EXE_ARGUMENTS`
|
$SUDO $OPENAIR_TARGETS/bin/oai_epc `echo $EXE_ARGUMENTS`
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user