From 2126f2f28e97f962000256d9769cbad773cbdde6 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Fri, 4 Aug 2023 14:41:56 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0ifupdown2=E7=9A=84=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install_pve.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_pve.sh b/scripts/install_pve.sh index 344059d..a62e8fa 100644 --- a/scripts/install_pve.sh +++ b/scripts/install_pve.sh @@ -888,7 +888,7 @@ if [ ! -f "/usr/local/bin/reboot_pve.txt" ]; then # prebuild_ifupdown2 # fi fi - if [[ $dmidecode_output == *"Hetzner_vServer"* ]] || [[ $dmidecode_output == *"Exoscale Compute Platform"* ]] || ! command -v ifupdown; then + if [[ $dmidecode_output == *"Hetzner_vServer"* ]] || [[ $dmidecode_output == *"Exoscale Compute Platform"* ]] || ! dpkg -S ifupdown; then prebuild_ifupdown2 fi # # 特殊处理OVH