#!/bin/sh

case "$1" in
	start)
		timeout 240 /srv/pvr/bin/run google
		;;		
	cron)
		if [ -f /mnt/usbraw/etc/google.ini ]; then
			echo "Google Account Settings found"
			timeout 240 /srv/pvr/bin/run google
		fi
		;;
	*)
		echo "usage: $0 [start|cron]"
		;;
esac
	


