diff options
Diffstat (limited to 'linhes/linhes-system/linhes-profile.sh')
-rw-r--r-- | linhes/linhes-system/linhes-profile.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/linhes/linhes-system/linhes-profile.sh b/linhes/linhes-system/linhes-profile.sh new file mode 100644 index 0000000..df98315 --- /dev/null +++ b/linhes/linhes-system/linhes-profile.sh @@ -0,0 +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 |