Commit eaa4552a authored by gauthier's avatar gauthier

hss hostname in config

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6373 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 7a9ba52f
......@@ -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"
}
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment