diff --git a/scripts/install_pve.sh b/scripts/install_pve.sh index a341da1..fb7d7e7 100644 --- a/scripts/install_pve.sh +++ b/scripts/install_pve.sh @@ -318,7 +318,7 @@ if [ ! -f "/usr/local/bin/ifupdown2_installed.txt" ]; 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 /usr/local/bin/install_ifupdown2.sh chmod 777 /etc/systemd/system/ifupdown2-install.service - if [ -f "install_ifupdown2.sh" ]; then + if [ -f "/usr/local/bin/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再次执行本脚本" systemctl daemon-reload