stress2: Limit console warnings
This commit is contained in:
parent
bfdcd042bc
commit
314ebfa2e9
@ -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
|
||||
|
@ -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 &
|
||||
|
Loading…
Reference in New Issue
Block a user