Update tweaking.sh

This commit is contained in:
jerry048 2023-02-27 03:14:56 +08:00
parent 5e79a39ca5
commit d16fe38c27
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ function kernel_Tweaking {
interface=$(/sbin/ip -o -4 route show to default | awk '{print $5}')
nic_speed=$(ethtool $interface | grep Speed | awk '{print $2}' | tr -d -c 0-9)
if (($nic_speed = 10000)); then
if (($nic_speed == 10000)); then
rmem_default=33554432
rmem_max=67108864
wmem_default=67108864