#!/bin/bash

# Start up a second SGW instance

HSS2_CUSTOM_CONF="/proj/PhantomNet/sep-hss/hss2.xml"

SUDO="/usr/bin/sudo"
OEPCPATH="/opt/OpenEPC"
OEPCETC="$OEPCPATH/etc"
OEPCBIN="$OEPCPATH/bin"
OEPCPHANTOM="$OEPCPATH/phantomnet"

HSS2_CONF_PATH="hss.xml"

$SUDO $OEPCPHANTOM/run_wharf.pl hss \
    || { echo "Could not start secondary HSS wharf process!" && exit 1; }

echo "Second HSS wharf process started."
exit 0;
