mirror of
https://github.com/moshix/mvs.git
synced 2026-01-26 19:52:03 +00:00
Update nicparseMacos.bash
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user