Usage: ./CheckInterface.sh <IFNAME>
Argument:
<IFNAME> Interface name
Return:
"CKIF:Non-exist" -- 接口不存在, 返回值为1
"CKIF:InvalidArg" -- 参数错误,返回值为2
网卡类型,如"CKIF:Intel"、"CKIF:Broadcom" -- 网卡存在时打印网卡品牌,返回值为0
InterfaceCheck
Directory actions
More options
Directory actions
More options
InterfaceCheck
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||