Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (18 sloc) 0.78 kb

Title: Wakeup, we're here...
Author: Chris Prather Date: 2005-10-15 17:55:36

Wakeup, we're here...

I mentioned to Nacho that I would post this.

I got Alice (my iBook running Tiger) updating it's Network Location based off the ssid of the network it joins to when it wakes up from suspend.

I used a script (update-location.sh) from this page.

I just had to munge the script a little, the following line:

#look up the status 
location=`grep -i "IT Airport" .wlans | awk -F"\t" '{print $2}'`

should read

#look up the status 
location=`grep -i $wlan .wlans | awk -F"\t" '{print $2}'`

It's all very neat.

Jump to Line
Something went wrong with that request. Please try again.