diff options
author | Britney Fransen <brfransen@gmail.com> | 2023-03-19 04:27:44 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2023-03-19 04:27:44 (GMT) |
commit | d8622d7d2538303ef629f4ce130ff935314f1da0 (patch) | |
tree | 776009418c99ebd01597b9dbc2fd04deb6d111f1 /linhes/linhes-system | |
parent | 1c179b8b08dfedc9b58f72db33116cd5e5bac66c (diff) | |
download | linhes_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')
-rwxr-xr-x | linhes/linhes-system/PKGBUILD | 4 | ||||
-rw-r--r-- | linhes/linhes-system/linhes-profile.sh | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/linhes/linhes-system/PKGBUILD b/linhes/linhes-system/PKGBUILD index 24220c0..75d4491 100755 --- a/linhes/linhes-system/PKGBUILD +++ b/linhes/linhes-system/PKGBUILD @@ -1,6 +1,6 @@ pkgname=linhes-system pkgver=9.0.0 -pkgrel=57 +pkgrel=58 arch=('x86_64') #install=$pkgname.install pkgdesc="Everything that makes LinHES a system" @@ -78,7 +78,7 @@ sha256sums=('525bfe29b63d3ec5a17a32fa29745e24070020490c3f5b6dd6b03250348fb324' '806e42821252c148701c130cc82aebed4f9f678f3f89987638231e4015d51e84' 'd4e37e72854edcba76b5464617bea3826e0495f9788340aa318d5f3cf29e87a2' 'a9d0a94ff442453f0bec0b2e8afd591cf17b2845b6ae45ff300530114efd30af' - '47ace62d7e7e651f25dc7c0a2e96d0862f5efe1a583eeda2843b1fc1499141fe' + 'cf884bad5caab9d5901b88b0ef41e3a39ea0b7a4614b8d14707d79941c899cbf' '3ed91fb5a7894f82fb4895e06d2e3f1df3ac4f82e46c970d4a85aaa4edc24cf1' '0b9868a563036c81f8fdb8ab8bbad51934aca2a07e9d7634e24214791afda8e2' '1b965b5e7eeafdf3815c8f2722587a560693dd780327cca9910dc47fba0f1aef' 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 |