mirror of
https://github.com/teddysun/across.git
synced 2025-10-08 22:05:34 +08:00
2
bbr.sh
2
bbr.sh
@@ -18,7 +18,7 @@ cur_dir=$(pwd)
|
|||||||
|
|
||||||
[[ $EUID -ne 0 ]] && echo -e "${red}Error:${plain} This script must be run as root!" && exit 1
|
[[ $EUID -ne 0 ]] && echo -e "${red}Error:${plain} This script must be run as root!" && exit 1
|
||||||
|
|
||||||
[[ -d "/proc/vz" ]] && echo -e "${red}Error:${plain} Your VPS is based on OpenVZ, not be supported." && exit 1
|
[[ -d "/proc/vz" ]] && echo -e "${red}Error:${plain} Your VPS is based on OpenVZ, which is not supported." && exit 1
|
||||||
|
|
||||||
if [ -f /etc/redhat-release ]; then
|
if [ -f /etc/redhat-release ]; then
|
||||||
release="centos"
|
release="centos"
|
||||||
|
Reference in New Issue
Block a user