View Single Post
Old 06-17-2013, 11:19 AM   #3
knick
Junior Member
knick began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2013
Device: Kindle 4
Here's the original display-weather.sh
Code:
#!/bin/sh

cd "$(dirname "$0")"

rm weather-script-output.png
eips -c
eips -c

if wget http://server/path/to/weather-script-output.png; then
	eips -g weather-script-output.png
else
	eips -g weather-image-error.png
fi
I'm guessing I'd put the loop around the 5 lines of the "if wget" block? Could you show me exactly how to do that? I'd hate to make some newb mistake and somehow make things worse.

If it helps any, I think the Kindle is a Fall 2011 model. It apparently had SSH already installed, but I also installed USBNetworking while following the weather mod instructions (maybe that somehow caused cron to go missing?). The firmware is v4.1.1
knick is offline   Reply With Quote