mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
fix on bandwidth
This commit is contained in:
parent
a00600a199
commit
8eab436ec2
2 changed files with 7 additions and 7 deletions
|
|
@ -12,7 +12,7 @@ while [ 1 == 1 ] ; do
|
|||
if [ $RXPREV -ne -1 ] ; then
|
||||
let BWRX=$RX-$RXPREV
|
||||
let BWTX=$TX-$TXPREV
|
||||
echo "$BWRX $BWTX">/tmp/netspeed
|
||||
echo "$((BWRX*8)) $(($BWTX*8))">/tmp/netspeed
|
||||
fi
|
||||
RXPREV=$RX
|
||||
TXPREV=$TX
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue