hss hostname in config

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6373 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Lionel Gauthier
2015-01-14 15:34:27 +00:00
parent 7a9ba52fad
commit eaa4552a37
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -307,7 +307,8 @@ check_install_freediamter(){
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"
}
+2 -1
View File
@@ -563,6 +563,7 @@ build_epc(){
TEMP_FILE=`tempfile`
VARIABLES=" S6A_CONF\|\
HSS_HOSTNAME\|\
REALM"
VARIABLES=$(echo $VARIABLES | sed -e 's/\\r//g')
@@ -802,7 +803,7 @@ if [ $RUN -ne 0 ]; then
'EPC')
echo "############# running EPC #############"
#test_is_host_reachable
test_is_host_reachable $HSS_HOSTNAME.$REALM HSS
if [ $RUN_GDB -eq 0 ]; then
$SUDO $OPENAIR_TARGETS/bin/oai_epc `echo $EXE_ARGUMENTS`
else