summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-01-05 21:34:59 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-01-05 21:34:59 (GMT)
commit402197f50ec8843de08d28a16eaefc15f3dee226 (patch)
tree23bdd770c1257a373f7ef218fb1336fa890c512a /abs/core
parentb41855ed0f9cd489fe3d9af1acd6e6b2fd80e922 (diff)
downloadlinhes_pkgbuild-402197f50ec8843de08d28a16eaefc15f3dee226.zip
linhes_pkgbuild-402197f50ec8843de08d28a16eaefc15f3dee226.tar.gz
linhes_pkgbuild-402197f50ec8843de08d28a16eaefc15f3dee226.tar.bz2
LinHES-session: stop mythfilldatabase from running on new slave installs.
refs #953
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/LinHES-system/LinHES-session17
-rwxr-xr-xabs/core/LinHES-system/PKGBUILD4
2 files changed, 15 insertions, 6 deletions
diff --git a/abs/core/LinHES-system/LinHES-session b/abs/core/LinHES-system/LinHES-session
index c6d0b09..14606fb 100755
--- a/abs/core/LinHES-system/LinHES-session
+++ b/abs/core/LinHES-system/LinHES-session
@@ -229,8 +229,13 @@ function first_configure_default(){
xterm -fn *18* -e sudo taskset -c 0 /usr/bin/mythtv-setup
sudo sv start mythbackend
sudo chown -R mythtv.mythtv /home/mythtv
- nice -n 19 mythfilldatabase --quiet &
- msg "Guide data is being loaded.\nUntil this completes\nsome shows will appear as "unknown"\nin the program guide."
+ # only run mythfilldatabase for masterbackends
+ if [ $SystemType = "Master_backend" ]
+ then
+ nice -n 19 mythfilldatabase --quiet &
+ msg "Guide data is being loaded.\nUntil this completes\nsome shows will appear as "unknown"\nin the program guide."
+ fi
+
rm ~/.configure
fi
else
@@ -268,8 +273,12 @@ function first_configure_mv(){
/usr/bin/taskset -c 0 /usr/bin/mythtv-setup
/usr/MythVantage/bin/backend_control.sh start BE 127.0.0.1
fi
- nice -n 19 mythfilldatabase --quiet &
- msg "Guide data is being loaded.\nUntil this completes\nsome shows will appear as "unknown"\nin the program guide."
+ # only run mythfilldatabase for masterbackends
+ if [ $SystemType = "Master_backend" ]
+ then
+ nice -n 19 mythfilldatabase --quiet &
+ msg "Guide data is being loaded.\nUntil this completes\nsome shows will appear as "unknown"\nin the program guide."
+ fi
rm -f ~/.configure
fi
else
diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD
index e64d264..94b1604 100755
--- a/abs/core/LinHES-system/PKGBUILD
+++ b/abs/core/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-system
pkgver=8.1
-pkgrel=11
+pkgrel=12
arch=('i686' 'x86_64')
install=system.install
pkgdesc="Everything that makes LinHES an automated system"
@@ -75,7 +75,7 @@ package() {
}
-md5sums=('7f5624a2d965a4cd3ed6a37ebee13fd9'
+md5sums=('7ab2a2c643d2b286811d8303d08982ad'
'de32a1c50101265dd7f6ca5037f7a26a'
'301884fb60521627fffd1160b2cf5181'
'76b2637cac0452b3acdbeeb4e8a5474b'