Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
bugfix (#11)
Browse files Browse the repository at this point in the history
* update debian kernel

* update centos kernel

* rebuild debian kernel

* recover path

* bugfix
  • Loading branch information
cx9208 authored and chiakge committed Jan 4, 2019
1 parent a7a0c89 commit 3f94409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ detele_kernel(){
for((integer = 1; integer <= ${rpm_total}; integer++)); do
rpm_del=`rpm -qa | grep kernel | grep -v "${kernel_version}" | grep -v "noarch" | head -${integer}`
echo -e "开始卸载 ${rpm_del} 内核..."
rpm -e ${rpm_del}
rpm --nodeps -e ${rpm_del}
echo -e "卸载 ${rpm_del} 内核卸载完成,继续..."
done
echo --nodeps -e "内核卸载完毕,继续..."
Expand Down

0 comments on commit 3f94409

Please sign in to comment.