mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-02-01 02:29:01 +08:00
Update
This commit is contained in:
parent
2c8cac0868
commit
a73de31cc4
1 changed files with 1 additions and 2 deletions
|
@ -295,7 +295,7 @@ if [[ $output == *"Hetzner_vServer"* ]]; then
|
|||
wget ${cdn_success_url}https://raw.githubusercontent.com/spiritLHLS/pve/main/extra_scripts/ifupdown2-install.service -O /etc/systemd/system/ifupdown2-install.service
|
||||
chmod 777 install_ifupdown2.sh
|
||||
chmod 777 /etc/systemd/system/ifupdown2-install.service
|
||||
if [ ! -f "install_ifupdown2.sh" ]; then
|
||||
if [ -f "install_ifupdown2.sh" ]; then
|
||||
_green "This script will automatically reboot the system after 5 seconds, please wait a few minutes to log into SSH and execute this script again"
|
||||
_green "本脚本将在5秒后自动重启系统,请待几分钟后登录SSH再次执行本脚本"
|
||||
sleep 5
|
||||
|
@ -304,7 +304,6 @@ if [[ $output == *"Hetzner_vServer"* ]]; then
|
|||
systemctl start ifupdown2-install.service
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
# 检测是否已重启过
|
||||
if [ ! -f "/root/reboot_pve.txt" ]; then
|
||||
echo "1" > "/root/reboot_pve.txt"
|
||||
|
|
Loading…
Reference in a new issue