summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2009-11-21 05:28:37 +0000
committerDoug Goldstein <cardoe@gentoo.org>2009-11-21 05:28:37 +0000
commit224764d070bdb4824db13fe87edc296e33c6fa73 (patch)
tree8e2712995d59cad39d9fff721f1f5d8db8bc113e /media-plugins/mythvideo/files/mythvideo.daily
parentadd initial version to the tree. bug #109719 (diff)
downloadgentoo-2-224764d070bdb4824db13fe87edc296e33c6fa73.tar.gz
gentoo-2-224764d070bdb4824db13fe87edc296e33c6fa73.tar.bz2
gentoo-2-224764d070bdb4824db13fe87edc296e33c6fa73.zip
update upstream JAMU version. Improve JAMU support by installing depends (which are now in the tree) and optionally installing default cronjobs to do the right things with JAMU
(Portage version: 2.1.7.5/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/mythvideo/files/mythvideo.daily')
-rw-r--r--media-plugins/mythvideo/files/mythvideo.daily7
1 files changed, 7 insertions, 0 deletions
diff --git a/media-plugins/mythvideo/files/mythvideo.daily b/media-plugins/mythvideo/files/mythvideo.daily
new file mode 100644
index 000000000000..865cc7228769
--- /dev/null
+++ b/media-plugins/mythvideo/files/mythvideo.daily
@@ -0,0 +1,7 @@
+#!/bin/sh
+#Daily maintenance mode for Jamu
+DIRECTORY=$(grep ^mythtv /etc/passwd | awk -F : '{print $6}')
+if [ -f "$DIRECTORY/.mythtv/config.xml" ]; then
+ su mythtv -c "/usr/bin/python /usr/share/mythtv/mythvideo/scripts/jamu.py -M >> '/var/log/mythtv/jamu.log'"
+fi
+