Merge Lean's source

This commit is contained in:
CN_SZTL 2019-11-25 21:17:58 +08:00
commit c70afd6344
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -2,7 +2,7 @@
info()
{ #获取网络接口数量
a=$(ifconfig -a | grep 'eth' | sort -u | wc -l)
a=$(ifconfig -a | grep '^eth' | sort -u | wc -l)
#获取网络接口状态
b=$(ethtool eth$1 | grep 'detected' | cut -f2 -d: | uniq)