should get ssid working
This commit is contained in:
parent
f04a5d8b82
commit
91c9952bd4
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
get_ssid()
|
||||
{
|
||||
if /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -I | awk -F: '/ SSID/{print $2}' &>/dev/null
|
||||
/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -I | awk -F: '/ SSID/{print $2}'
|
||||
echo $(/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -I | awk -F: '/ SSID/{print $2}')
|
||||
else
|
||||
echo 'Ethernet'
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue