mirror of
https://github.com/teddysun/across.git
synced 2025-01-18 13:59:35 +08:00
Update comments
Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
parent
5924fa2eb8
commit
354ebe77db
14
bbr.sh
14
bbr.sh
@ -321,8 +321,18 @@ install_bbr() {
|
||||
rm -rf ${rpm_kernel_devel_name}
|
||||
wget -c -t3 -T60 -O ${rpm_kernel_devel_name} ${rpm_kernel_url_2}${rpm_kernel_devel_name}
|
||||
fi
|
||||
[ -f ${rpm_kernel_name} ] && rpm -ivh ${rpm_kernel_name} || echo -e "${red}Error:${plain} Download ${rpm_kernel_name} failed, please check it."; exit 1
|
||||
[ -f ${rpm_kernel_devel_name} ] && rpm -ivh ${rpm_kernel_devel_name} || echo -e "${red}Error:${plain} Download ${rpm_kernel_devel_name} failed, please check it."; exit 1
|
||||
if [ -f "${rpm_kernel_name}" ]; then
|
||||
rpm -ivh ${rpm_kernel_name}
|
||||
else
|
||||
echo -e "${red}Error:${plain} Download ${rpm_kernel_name} failed, please check it."
|
||||
exit 1
|
||||
fi
|
||||
if [ -f "${rpm_kernel_devel_name}" ]; then
|
||||
rpm -ivh ${rpm_kernel_devel_name}
|
||||
else
|
||||
echo -e "${red}Error:${plain} Download ${rpm_kernel_devel_name} failed, please check it."
|
||||
exit 1
|
||||
fi
|
||||
rm -f ${rpm_kernel_name} ${rpm_kernel_devel_name}
|
||||
elif centosversion 7; then
|
||||
yum -y install kernel-ml kernel-ml-devel
|
||||
|
Loading…
x
Reference in New Issue
Block a user