This commit is contained in:
James 2025-01-21 12:59:01 +08:00
parent af8ed99ba4
commit 3bed8f5f7f
2 changed files with 3 additions and 1 deletions

View File

@ -225,6 +225,7 @@ install_dependencies() {
case "${os_type,,}" in
debian|ubuntu)
export DEBIAN_FRONTEND=noninteractive # 禁用交互
echo "iperf3 iperf3/autostart boolean false" | sudo debconf-set-selections
install_cmd="apt-get install -yq"
sudo apt-get update -yq
;;

View File

@ -224,7 +224,8 @@ install_dependencies() {
case "${os_type,,}" in
debian|ubuntu)
export DEBIAN_FRONTEND=noninteractive # 禁用交互
export DEBIAN_FRONTEND=noninteractive
echo "iperf3 iperf3/autostart boolean false" | sudo debconf-set-selections
install_cmd="apt-get install -yq"
sudo apt-get update -yq
;;