commit | 77b5851e492e310145b447837138769a62fa91f9 | [log] [tgz] |
---|---|---|
author | Pankaj Berde <pankaj@onlab.us> | Fri Apr 05 12:06:37 2013 -0700 |
committer | Pankaj Berde <pankaj@onlab.us> | Fri Apr 05 12:06:37 2013 -0700 |
tree | dda062f84fad681d7e2ea64d79fa0bc61db184f4 | |
parent | 53874bceb7f0791eac54bed9d87f4c5e66b03439 [diff] [blame] |
Port search improved
diff --git a/start-onos.sh b/start-onos.sh index 0515bd5..7e23eaf 100755 --- a/start-onos.sh +++ b/start-onos.sh
@@ -91,7 +91,7 @@ function stop { # Kill the existing processes - flpid=`jps -l |grep net.floodlightcontroller.core.Main | awk '{print $1}'` + flpid=`jps -l |grep ${MAIN_CLASS} | awk '{print $1}'` tdpid=`ps -edalf |grep tcpdump |grep ${PCAP_LOG} | awk '{print $4}'` pids="$flpid $tdpid" for p in ${pids}; do