#!/bin/sh
#
#
#             ****** PSTIMER START SCRIPT *****


if [ -e /var/plugins/pstimer/.pstimer ]
then 

rm /var/plugins/pstimer/.pstimer &

else

touch /var/plugins/pstimer/.pstimer &

fi

wget -q -O /tmp/temp.tt http://127.0.0.1/control/message?popup="PS-Timer:%20%C3%A4ndere%20Status"



if pidof pstimer > /dev/null
then

echo "pstimer Daemon laeuft"

else

echo "starte pstimer Daemon"
touch /var/plugins/pstimer/.pstimer &
/var/plugins/pstimer/pstimer &

fi

