From e56e39806c0cfed0f4e1ea32c093fd3b16d3f449 Mon Sep 17 00:00:00 2001 From: Patrick Lewis <4015312+locus313@users.noreply.github.com> Date: Thu, 30 Nov 2023 16:50:13 -0800 Subject: [PATCH] add Sonoma support (#14) --- wireless.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wireless.sh b/wireless.sh index 6b1ee4a..3ac265c 100644 --- a/wireless.sh +++ b/wireless.sh @@ -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."