This commit is contained in:
spiritlhl 2023-06-23 12:46:35 +00:00
parent 125f50e55b
commit 737e63d9d5

View file

@ -150,7 +150,9 @@ fi
# fi
# 去除空行之外的重复行
remove_duplicate_lines "/etc/network/interfaces"
remove_duplicate_lines "/etc/network/interfaces.new"
if [ -f "/etc/network/interfaces.new" ]; then
remove_duplicate_lines "/etc/network/interfaces.new"
fi
}
fix_interfaces_ipv6_auto_type(){