summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/smolt.cron
blob: f418df10719d8d298ac02d1e5f137fe7b497a45d (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
. /etc/profile
if  [ -f  /home/mythtv/.mythtv/MythSmolt/hw-uuid ] 
then
	cd /usr/share/mythtv/mythsmolt/scripts
	touch /var/log/smolt.update
	chown mythtv /var/log/smolt.update
	random=$((RANDOM%2000))
	sleep $random
	su mythtv -c "./sendProfile.py -a" > /var/log/smolt.update
fi