Thread
:
[HOW TO] Yahoo weather on your lock screen with 3 themes
View Single Post
woody14619
2011-06-20 , 15:24
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#
115
Originally Posted by
iscio
@woody14619 I have some problems:
If you edit the script involved, you'll see there are lines looking for wifi. I did this because I didn't want the script using my data plan to update weather every hour. (But if on wifi, I am fine on doing that. My wifi is unlimited, my data plan is not.)
If you want to avoid the error, you can comment out the line that looks for the wifi connection to look like this:
Code:
#
wifion=`/sbin/ifconfig wlan0 | grep -i "inet addr" | wc -l`
You'll also note a comment about CHECKINT, noting that it should be changed to 0 if you want to update on 2G/3G every time. That's as designed.
As for the last bit, it does try to get the status from Yahoo and update it. I've noted a couple times that mine has lost that information. I think there may be a parsing issue where they're using their delimited in a quoted string. The script doesn't parse the data quite the same way a web browser does, so it gets confused by that. If I get a chance I'll try to fix it, but it's low priority right now, as I have 50 things going on at once in my life.
Quote & Reply
|
woody14619
View Public Profile
Send a private message to woody14619
Find all posts by woody14619