mirror of
https://github.com/xxoommd/magic.git
synced 2025-07-04 09:42:43 +00:00
Update scripts
This commit is contained in:
parent
861b165306
commit
668ab70f74
@ -27,6 +27,11 @@ function is_valid_domain() {
|
||||
fi
|
||||
}
|
||||
|
||||
echo "Enabling BBR..."
|
||||
echo "net.core.default_qdisc=fq" | tee -a /etc/sysctl.conf
|
||||
echo "net.ipv4.tcp.congestion_control=bbr" |tee -a /etc/sysctl.conf
|
||||
sysctl -p
|
||||
|
||||
echo -e "\n[INFO] Validate DOMAN: ${BLUE}${DOMAIN}${NC} ..."
|
||||
|
||||
if [[ -z $DOMAIN ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user