|
|
@ -46,7 +46,7 @@ ANON_NOTIFY=$(nvram get tomatoanon_notify)
|
|
|
|
VER_MAJ=$(echo $VER | awk '{print $1}' | cut -d "." -f1 | sed 's/[^0-9]*//g')
|
|
|
|
VER_MAJ=$(echo $VER | awk '{print $1}' | cut -d "." -f1 | sed 's/[^0-9]*//g')
|
|
|
|
VER_MNR=$(echo $VER | awk '{print $1}' | cut -d "." -f2 | sed 's/[^0-9]*//g')
|
|
|
|
VER_MNR=$(echo $VER | awk '{print $1}' | cut -d "." -f2 | sed 's/[^0-9]*//g')
|
|
|
|
|
|
|
|
|
|
|
|
RESCHK=$(wget -O- "http://freshtomato.org/version.txt")
|
|
|
|
RESCHK=$(wget --no-check-certificate -O- "http://freshtomato.org/version.txt")
|
|
|
|
|
|
|
|
|
|
|
|
CHKVER_MAJ=$(echo $RESCHK | awk '{print $1}' | cut -d "." -f1 | sed 's/[^0-9]*//g')
|
|
|
|
CHKVER_MAJ=$(echo $RESCHK | awk '{print $1}' | cut -d "." -f1 | sed 's/[^0-9]*//g')
|
|
|
|
ISMNR=$(echo $RESCHK | grep "\." | wc -l)
|
|
|
|
ISMNR=$(echo $RESCHK | grep "\." | wc -l)
|
|
|
@ -109,7 +109,7 @@ ANON_NOTIFY=$(nvram get tomatoanon_notify)
|
|
|
|
|
|
|
|
|
|
|
|
# We have all we need well we can send data to Anon database
|
|
|
|
# We have all we need well we can send data to Anon database
|
|
|
|
RESULT="/tmp/anon.result"
|
|
|
|
RESULT="/tmp/anon.result"
|
|
|
|
wget -O $RESULT $ANONSEND
|
|
|
|
wget --no-check-certificate -O $RESULT $ANONSEND
|
|
|
|
|
|
|
|
|
|
|
|
# Thanks. Now add cron job
|
|
|
|
# Thanks. Now add cron job
|
|
|
|
|
|
|
|
|
|
|
|