stress2: Limit console warnings

This commit is contained in:
Peter Holm 2022-03-18 07:34:07 +01:00
parent bfdcd042bc
commit 314ebfa2e9
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ start=`date +%s`
while [ $((`date +%s` - start)) -lt 300 ]; do
for i in `jot 255`; do
(ifconfig $if.$i create
ifconfig $if.$i inet 224.0.0.$i
ifconfig $if.$i inet 224.0.0.$i netmask 255.255.255.0
ifconfig $if.$i destroy) > /dev/null 2>&1 &
done
wait

View File

@ -53,7 +53,7 @@ for i in `jot 5`; do
done
while [ -f $sync ]; do
ifconfig $if.$i create
ifconfig $if.$i inet 224.0.0.$i
ifconfig $if.$i inet 224.0.0.$i netmask 255.255.255.0
ifconfig $if.$i destroy
done
) > /dev/null 2>&1 &