diff options
Diffstat (limited to 'linhes/linhes-system/linhes-profile.sh')
-rw-r--r-- | linhes/linhes-system/linhes-profile.sh | 10 |
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 |