debian 9: 修复 ifupdown 不支持静态 ipv6 onlink 网关

This commit is contained in:
bin456789
2025-02-06 18:47:21 +08:00
parent 24b6e7f922
commit 7b777df830
3 changed files with 26 additions and 0 deletions

View File

@ -3113,8 +3113,10 @@ EOF
# hack 3
# 修改 trans.sh
# 1. 直接调用 create_ifupdown_config
# shellcheck disable=SC2154
insert_into_file $initrd_dir/trans.sh after '^: main' <<EOF
distro=$nextos_distro
releasever=$nextos_releasever
create_ifupdown_config /etc/network/interfaces
exit
EOF