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."