Skip to content

Commit

Permalink
add Sonoma support (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
locus313 authored Dec 1, 2023
1 parent acadbbb commit e56e398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wireless.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ do
fi
done

# For Monterey (#21), Ventura (#22)
if [ "$OSVERSION" == "21" ] || [ "$OSVERSION" == "22" ]; then
# For Monterey (#21), Ventura (#22), Sonoma (#23)
if [ "$OSVERSION" == "21" ] || [ "$OSVERSION" == "22" ] || [ "$OSVERSION" == "23" ]; then
if [ $IPFOUND ]; then
/usr/sbin/networksetup -setairportpower "$WIFIINTERFACES" off || exit 1
echo "Turning OFF wireless on card $WIFIINTERFACES."
Expand Down

0 comments on commit e56e398

Please sign in to comment.