core: 不重要的优化

This commit is contained in:
bin456789
2023-11-03 23:55:04 +08:00
parent 4952dead76
commit 307d21ec4b
3 changed files with 11 additions and 6 deletions

View File

@ -248,6 +248,13 @@ get_ra_to() {
echo "Gathering network info..."
_ra="$(rdisc6 -1 eth0)"
apk del ndisc6
# 显示网络配置
echo
echo "$_ra" | cat -n
echo
ip addr | cat -n
echo
fi
eval "$1='$_ra'"
}
@ -552,10 +559,6 @@ EOF
# 显示网络配置
echo
ip addr | cat -n
echo
echo "$ra" | cat -n
echo
cat -n /etc/network/interfaces
echo