#!/bin/bash
## Written by Jacob Braun, http://five.jacobbraun.com
file=`grep false /etc/isstolen`
website=http://yoururl/phonehome
sleep 30;
phonehome=`(curl -s $website)`
if [ "$file" == "false" ]; then
if [ "$phonehome" == "true" ]; then
rm -rf /etc/isstolen
/opt/local/bin/wget -P /etc http://yoururl/isstolen
rm -rf /etc/sayit
/opt/local/bin/wget -P /etc http://yoururl/sayit
rm -rf /etc/growlit
/opt/local/bin/wget -P /etc http://yoururl/growlit
touch /etc/isstolen
touch /etc/sayit
touch /etc/growlit
fi;
fi;
exit 0
## Written by Jacob Braun, http://five.jacobbraun.com
file=`grep false /etc/isstolen`
website=http://yoururl/phonehome
sleep 30;
phonehome=`(curl -s $website)`
if [ "$file" == "false" ]; then
if [ "$phonehome" == "true" ]; then
rm -rf /etc/isstolen
/opt/local/bin/wget -P /etc http://yoururl/isstolen
rm -rf /etc/sayit
/opt/local/bin/wget -P /etc http://yoururl/sayit
rm -rf /etc/growlit
/opt/local/bin/wget -P /etc http://yoururl/growlit
touch /etc/isstolen
touch /etc/sayit
touch /etc/growlit
fi;
fi;
exit 0