Skip to content

Conversation

amartignoni
Copy link

@amartignoni amartignoni commented Nov 16, 2022

MacOS has a command called "networksetup" that seems easier to parse and has by default options to list all available network locations as well as the one that is currently active.

This PR suggests replacing the current commands to find the active SSID, list of available locations and currently active location, which currently use "scselect" and a not-in-path "airport" utility, with versions relying on the "networksetup" command.

@juestr
Copy link

juestr commented Jan 3, 2025

+1
airport doesn't even work any more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants