1
vote
3answers
372 views

OS X: How to get the current network location inside a bash function?

I need to use the current network location inside a bash script conditional. I've tried using the scselect command, which outputs an asterisk next to the current location: ~/ scselect Defined sets ...