mirror of
https://github.com/bin456789/reinstall.git
synced 2025-12-10 07:28:56 +08:00
core: 不重要的优化
This commit is contained in:
11
trans.sh
11
trans.sh
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user