mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-01-31 18:18:28 +08:00
更新ifupdown2的判断方式
This commit is contained in:
parent
c9f7fbf6e1
commit
2126f2f28e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue