summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-system/linhes-profile.sh
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2023-03-19 04:27:44 (GMT)
committerBritney Fransen <brfransen@gmail.com>2023-03-19 04:27:44 (GMT)
commitd8622d7d2538303ef629f4ce130ff935314f1da0 (patch)
tree776009418c99ebd01597b9dbc2fd04deb6d111f1 /linhes/linhes-system/linhes-profile.sh
parent1c179b8b08dfedc9b58f72db33116cd5e5bac66c (diff)
downloadlinhes_pkgbuild-d8622d7d2538303ef629f4ce130ff935314f1da0.zip
linhes_pkgbuild-d8622d7d2538303ef629f4ce130ff935314f1da0.tar.gz
linhes_pkgbuild-d8622d7d2538303ef629f4ce130ff935314f1da0.tar.bz2
linhes-system: linhes-profile.sh: add lh_myth_status.py for master backends
Diffstat (limited to 'linhes/linhes-system/linhes-profile.sh')
-rw-r--r--linhes/linhes-system/linhes-profile.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/linhes/linhes-system/linhes-profile.sh b/linhes/linhes-system/linhes-profile.sh
index 00baeac..df98315 100644
--- a/linhes/linhes-system/linhes-profile.sh
+++ b/linhes/linhes-system/linhes-profile.sh
@@ -1,3 +1,13 @@
#!/bin/bash
#this enables airplay support
export MYTHTV_AIRPLAY="1"
+
+if [ -f /etc/systemconfig ]; then
+ SystemType=$(grep SystemType= /etc/systemconfig | cut -d '"' -f 2)
+fi
+if [ ! $SystemType = "FrontendOnly" ]; then
+ if [ x$MYTH_RUN_STATUS = x ]; then
+ MYTHCONFDIR=/usr/share/mythtv /usr/bin/lh_myth_status.py
+ fi
+ MYTH_RUN_STATUS="1"
+fi