wireless icon indicating copy to clipboard operation
wireless copied to clipboard

detectDriver fails (on Mac OS) because of PATH dependency

Open markusmaresch opened this issue 4 years ago • 0 comments

On Mac OS, _detectDriver tries to find "networksetup", which is in /usr/sbin tyically. If PATH does NOT contain /usr/sbin - which is the case for CRON jobs (this is how I found it !!!) this does not work.

Possible workaround: ensure, that for all commands, like nmcli, wpa_supplicant and networksetup - the PATH is set !!

markusmaresch avatar Jul 07 '20 21:07 markusmaresch