mirror of
https://github.com/xubiaolin/docker-zerotier-planet.git
synced 2025-01-22 12:48:14 -05:00
update-kernel
This commit is contained in:
parent
7c216f5ec9
commit
252c2f590d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user