#!/bin/sh

FOLDER="/mnt/base-us/weather"
FILE="weather.png"
URL="http://cn-vpn.grisge.info/weather/weather.png"

cd $FOLDER

ifconfig wlan0 >/dev/null 2>&1
if [ $? -ne 0 ];then
    exit
fi

rm $FOLDER/$FILE

wget $URL -O $FOLDER/$FILE

if [ -e $FOLDER/$FILE ];then
    eips -f -g $FOLDER/$FILE
fi

Add script for USB connected kindle.
Add script for USB connected kindle.

Signed-off-by: Gris Ge <13467ad561276cbdce219755b3afc2c00b6ba175@gmail.com>
