Merge branch 'stretch' of https://github.com/bashrc/freedombone
This commit is contained in:
commit
2240241ca2
|
@ -685,6 +685,13 @@ function setup_powerline {
|
|||
fi
|
||||
}
|
||||
|
||||
function congestion_control {
|
||||
# see /proc/sys/net/ipv4/tcp_congestion_control
|
||||
echo 'net.core.default_qdisc=fq' > /etc/sysctl.d/10-custom-kernel-bbr.conf
|
||||
echo 'net.ipv4.tcp_congestion_control=bbr' >> /etc/sysctl.d/10-custom-kernel-bbr.conf
|
||||
sysctl --system
|
||||
}
|
||||
|
||||
function setup_utils {
|
||||
read_config_param "PROJECT_REPO"
|
||||
write_config_param "PROJECT_REPO" "$PROJECT_REPO"
|
||||
|
@ -695,6 +702,9 @@ function setup_utils {
|
|||
function_check support_256_colours
|
||||
support_256_colours
|
||||
|
||||
function_check congestion_control
|
||||
congestion_control
|
||||
|
||||
function_check enable_predictable_device_names
|
||||
enable_predictable_device_names
|
||||
|
||||
|
|
Loading…
Reference in New Issue