mirror of
https://github.com/oneclickvirt/pve.git
synced 2024-11-10 17:25:50 +08:00
15 lines
307 B
Bash
15 lines
307 B
Bash
#!/bin/bash
|
|
# from
|
|
# https://github.com/spiritLHLS/pve
|
|
# 2023.07.31
|
|
|
|
# 安装ifupdown2
|
|
apt-get install -y ifupdown2
|
|
echo "1" > "/usr/local/bin/ifupdown2_installed.txt"
|
|
|
|
# 删除Systemd服务
|
|
systemctl disable ifupdown2-install.service
|
|
rm /etc/systemd/system/ifupdown2-install.service
|
|
|
|
# 删除自身
|
|
rm $0
|