Merge Lean's source
This commit is contained in:
commit
c70afd6344
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user