mirror of
https://github.com/bin456789/reinstall.git
synced 2025-12-10 07:28:56 +08:00
core: 不重要的优化
This commit is contained in:
@ -802,7 +802,7 @@ collect_netconf() {
|
||||
config=$1
|
||||
key=$2
|
||||
var=$3
|
||||
IFS=',' read -r -a "${var?}" <<<"$(grep "$key=" <<<"$config" | cut -d= -f2 | sed 's/[{}"]//g')"
|
||||
IFS=',' read -r -a "${var?}" <<<"$(grep "$key=" <<<"$config" | cut -d= -f2 | sed 's/[{}\"]//g')"
|
||||
}
|
||||
|
||||
# 部分机器精简了 powershell
|
||||
|
||||
Reference in New Issue
Block a user