diff options
Diffstat (limited to 'net-analyzer/netperf/files/netperf-fix-scripts.patch')
-rw-r--r-- | net-analyzer/netperf/files/netperf-fix-scripts.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net-analyzer/netperf/files/netperf-fix-scripts.patch b/net-analyzer/netperf/files/netperf-fix-scripts.patch new file mode 100644 index 000000000000..27e041fd7a32 --- /dev/null +++ b/net-analyzer/netperf/files/netperf-fix-scripts.patch @@ -0,0 +1,34 @@ +--- a/doc/examples/arr_script ++++ b/doc/examples/arr_script +@@ -12,8 +12,7 @@ + TOLERANCE=15 + MAX_RETRIES=3 + +- NETPERF="/usr/local/netperf/netperf" +- NETPERF="./netperf" ++ NETPERF="/usr/bin/netperf" + + NPROC_LIST="" + RR_SIZES="" +--- a/doc/examples/packet_byte_script ++++ b/doc/examples/packet_byte_script +@@ -25,7 +25,7 @@ + fi + + # where is netperf +-NETPERF_DIR=${NETPERF_DIR:=/opt/netperf2/bin} ++NETPERF_DIR=${NETPERF_DIR:=/usr/bin} + + + # at what port will netserver be waiting? If you decide to run +--- a/doc/examples/snapshot_script ++++ b/doc/examples/snapshot_script +@@ -37,7 +37,7 @@ + # + # where is netperf installed, there are a few possible places: + +-NETPERF_CMD=${NETPERF_CMD:=/opt/netperf/netperf} ++NETPERF_CMD=${NETPERF_CMD:=/usr/bin/netperf} + + + # there should be no more than two parms passed |