Commit f0dc7456 authored by Lionel Gauthier's avatar Lionel Gauthier

Minor fixes

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4957 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 0725da0e
...@@ -38,7 +38,7 @@ test_command_install_package "iptables" "iptables" ...@@ -38,7 +38,7 @@ test_command_install_package "iptables" "iptables"
test_command_install_package "iperf" "iperf" test_command_install_package "iperf" "iperf"
test_command_install_package "ip" "iproute" test_command_install_package "ip" "iproute"
test_command_install_script "ovs-vsctl" "$OPENAIRCN_DIR/SCRIPTS/install_openvswitch1.9.0.bash" test_command_install_script "ovs-vsctl" "$OPENAIRCN_DIR/SCRIPTS/install_openvswitch1.9.0.bash"
test_command_install_script "tunctl" "uml-utilities" test_command_install_package "tunctl" "uml-utilities"
if [ ! -d /usr/local/etc/freeDiameter ] if [ ! -d /usr/local/etc/freeDiameter ]
then then
cd $OPENAIRCN_DIR/S6A/freediameter && ./install_freediameter.sh cd $OPENAIRCN_DIR/S6A/freediameter && ./install_freediameter.sh
...@@ -73,11 +73,11 @@ fi ...@@ -73,11 +73,11 @@ fi
IPTABLES=`which iptables` IPTABLES=`which iptables`
cd $OPENAIRCN_DIR
################################## ##################################
# Get or set OBJ DIR and compile # # Get or set OBJ DIR and compile #
################################## ##################################
# TEST IF EXIST # TEST IF EXIST
cd $OPENAIRCN_DIR
OBJ_DIR=`find . -maxdepth 1 -type d -iname obj*` OBJ_DIR=`find . -maxdepth 1 -type d -iname obj*`
if [ -n "$OBJ_DIR" ] if [ -n "$OBJ_DIR" ]
then then
...@@ -101,6 +101,8 @@ else ...@@ -101,6 +101,8 @@ else
echo_success "Invoking configure" echo_success "Invoking configure"
../configure --enable-standalone-epc --enable-raw-socket-for-sgi LDFLAGS=-L/usr/local/lib ../configure --enable-standalone-epc --enable-raw-socket-for-sgi LDFLAGS=-L/usr/local/lib
fi fi
pkill oai_epc
if [ -f Makefile ] if [ -f Makefile ]
then then
echo_success "Compiling..." echo_success "Compiling..."
...@@ -111,7 +113,6 @@ else ...@@ -111,7 +113,6 @@ else
fi fi
cd $OPENAIRCN_DIR cd $OPENAIRCN_DIR
pkill oai_epc
####################################################### #######################################################
# SOURCE $OPENAIRCN_DIR/UTILS/CONF/epc_$HOSTNAME.conf # SOURCE $OPENAIRCN_DIR/UTILS/CONF/epc_$HOSTNAME.conf
......
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