14 lines
288 B
Bash
14 lines
288 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
curl --silent http://torrent.ubuntu.com/simple/precise/server/ | grep beta2 >> /dev/null
|
||
|
|
||
|
if [ $? -eq 1 ]; then
|
||
|
#send mail
|
||
|
/home/david/SparkleShare/docs/scripts/telnet_mail.sh "Ubuntu 12.04 Precise Pangolin LTS is out."
|
||
|
else
|
||
|
echo "still beta2 online"
|
||
|
fi
|
||
|
|
||
|
|
||
|
exit 0
|