mirror of
https://github.com/xubiaolin/docker-zerotier-planet.git
synced 2026-01-12 21:06:59 +08:00
update-kernel
This commit is contained in:
@@ -37,7 +37,7 @@ update_centos_kernal(){
|
|||||||
read -p "内核升级完成,请重启系统,是否立刻重启?(y/n)" reboot
|
read -p "内核升级完成,请重启系统,是否立刻重启?(y/n)" reboot
|
||||||
reboot=${reboot:-n}
|
reboot=${reboot:-n}
|
||||||
if [[ "$reboot" =~ ^[Yy]$ ]]; then
|
if [[ "$reboot" =~ ^[Yy]$ ]]; then
|
||||||
reboot
|
reboot now
|
||||||
else
|
else
|
||||||
echo "已取消重启"
|
echo "已取消重启"
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user