mirror of
https://github.com/masonr/yet-another-bench-script.git
synced 2025-11-06 07:41:30 +05:30
changed wget to curl
This commit is contained in:
parent
bf010d7285
commit
832feef503
1 changed files with 2 additions and 2 deletions
4
yabs.sh
4
yabs.sh
|
|
@ -33,8 +33,8 @@ echo -e "Disk : $TOTAL_DISK"
|
||||||
DATE=`date -Iseconds | sed -e "s/:/_/g"`
|
DATE=`date -Iseconds | sed -e "s/:/_/g"`
|
||||||
IPERF_PATH=/tmp/$DATE/iperf
|
IPERF_PATH=/tmp/$DATE/iperf
|
||||||
mkdir -p $IPERF_PATH
|
mkdir -p $IPERF_PATH
|
||||||
wget -O $IPERF_PATH/libiperf.so.0 https://iperf.fr/download/ubuntu/libiperf.so.0_3.1.3 -o /dev/null
|
curl -s -o $IPERF_PATH/libiperf.so.0 https://iperf.fr/download/ubuntu/libiperf.so.0_3.1.3 > /dev/null
|
||||||
wget -O $IPERF_PATH/iperf3 https://iperf.fr/download/ubuntu/iperf3_3.1.3 -o /dev/null
|
curl -s -o $IPERF_PATH/iperf3 https://iperf.fr/download/ubuntu/iperf3_3.1.3 > /dev/null
|
||||||
chmod +x $IPERF_PATH/iperf3
|
chmod +x $IPERF_PATH/iperf3
|
||||||
|
|
||||||
function iperf_test {
|
function iperf_test {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue