Closed nayr1991 closed 6 years ago
It does look like the issue is because of the space in the file name, I tried connecting to another network with a profile and it successfully ran that script. I managed to get around it by creating a different profile for my 2.4GHZ network called 'BandCamp' and linking the two together via locations.conf
ryan@Ryans-MBP : ~
[0] % cat .locations/locations.conf
BandCamp 5GHZ=BandCamp
[2017-11-02 19:13] Connected to 'BandCamp 5GHZ'
[2017-11-02 19:13] Will switch the location to 'BandCamp' (configuration file)
[2017-11-02 19:13] Changing the location to 'BandCamp'
CurrentSet updated to 96618E39-A270-4D66-A990-639475866B09 (BandCamp)
[2017-11-02 19:13] Running '/Users/ryan/.locations/BandCamp'
Hi,
Thank you for reporting this! Pushed the fix, you should re-install it again using curl -L https://github.com/eprev/locationchanger/raw/master/locationchanger.sh | bash
. Don't worry – it won't replace user scripts you already have.
I have created a script named the same as my wireless network and it doesn't get run although it is correctly changing location and logging. It does run the Automatic script correctly, But not one for another network - Specifically 'BandCamp 5GHZ'
Script content is copied directly from readme.