Skip to content

Commit

Permalink
Override default.conf with higher priority
Browse files Browse the repository at this point in the history
  • Loading branch information
stickz committed Apr 24, 2023
1 parent 7ccd3fb commit 2ff5210
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ function _checkbbr() {
fi
# If enablebbr is set then enable fq plus bbq and apply the changes
if [[ $enablebbr = "true" ]]; then
echo "net.core.default_qdisc=fq" >> /etc/sysctl.d/10-swizzin.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.d/10-swizzin.conf
echo "net.core.default_qdisc=fq" >> /etc/sysctl.d/55-swizzin.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.d/55-swizzin.conf
sysctl --system >> $log 2>&1
fi
}
Expand Down

0 comments on commit 2ff5210

Please sign in to comment.