summaryrefslogtreecommitdiffstats
path: root/Monitoring/MonitoringTool/PacketTracking/netview/launcher/netview.sh
blob: f7c95ac5d01b75633dd860349f37bf67684d8562 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
set -e

NVHOME="./nvhome"

SCRIPT=`readlink -f $0`
JARDIR=`dirname $SCRIPT`

if [ ! -z $1 ]; then
	NVHOME="$1"
fi

if [ ! -e $NVHOME ]; then
	mkdir -p $NVHOME
fi

cd $NVHOME
java -jar $JARDIR/netview.jar