mirror of
https://github.com/moshix/mvs.git
synced 2026-01-13 23:26:20 +00:00
Update nicparseMacos.bash
This commit is contained in:
parent
94e3f93d62
commit
197d6074f4
@ -111,7 +111,7 @@ fi
|
||||
|
||||
os_type # call os type determination
|
||||
if [[ "$ostype" == "Linux" ]]; then
|
||||
routenic=` route | grep '^default' | grep -o '[^ ]*$'` # for Linux
|
||||
routenic=`route | grep '^default' | grep -o '[^ ]*$'` # for Linux
|
||||
echo -e "${blue}NIC to Internet: \t${white}$routenic${reset}"
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user