Skip to content

Commit

Permalink
NMS-3(feat): support USB3.1 Gen1 port, AX88179A (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxy1992 authored May 6, 2023
1 parent c359421 commit 3013122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/config/toggleAirport.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ prev_air_status="Off"
eth_status="Off"

# Grab the names of the adapters. We assume here that any ethernet connection name ends in "Ethernet"
eth_names=`networksetup -listnetworkserviceorder | sed -En 's/^\(Hardware Port: (.*Ethernet|USB 10.*), Device: (en.)\)$/\2/p'`
eth_names=`networksetup -listnetworkserviceorder | sed -En 's/^\(Hardware Port: (.*Ethernet|USB 10.*|AX88179A.*), Device: (en.)\)$/\2/p'`
air_name=`networksetup -listnetworkserviceorder | sed -En 's/^\(Hardware Port: (Wi-Fi|AirPort), Device: (en.)\)$/\2/p'`

# Determine previous ethernet status
Expand Down

0 comments on commit 3013122

Please sign in to comment.