From c7033cd90ab47e9c739e492bd2de1c50699e7516 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Wed, 16 Jan 2013 12:53:50 -0600 Subject: linhes-scripts: add script to fetch the airplay key. VERY basic at the moment, someone should a disclaimer or something. --- abs/core/linhes-scripts/PKGBUILD | 10 ++++++---- abs/core/linhes-scripts/get_airplay_key | 6 ++++++ 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100755 abs/core/linhes-scripts/get_airplay_key diff --git a/abs/core/linhes-scripts/PKGBUILD b/abs/core/linhes-scripts/PKGBUILD index 6c37de4..8de4c88 100644 --- a/abs/core/linhes-scripts/PKGBUILD +++ b/abs/core/linhes-scripts/PKGBUILD @@ -3,7 +3,7 @@ pkgname=linhes-scripts pkgver=7 -pkgrel=48 +pkgrel=49 pkgdesc="Various scripts that help to make LinHES, LinHES." arch=('i686' 'x86_64') license=('GPL2') @@ -48,18 +48,19 @@ xwin_find.sh upgrade_screen_rc upgrade_linhes_script.sh find_orphans.py -acl_fix_fstab.py +acl_fix_fstab.py stop_xss.sh myth2mkv LinHES-osd ripD_eject.sh +get_airplay_key ) build() { cd ${srcdir} install -d ${pkgdir}/usr/LH/bin install -d ${pkgdir}/usr/LH/etc - install -D -m755 myth2* *.sh *.pl *.py vdpau* run-* pause_* LinHES* ${pkgdir}/usr/LH/bin/ + install -D -m755 myth2* *.sh *.pl *.py vdpau* run-* pause_* LinHES* get_airplay_key ${pkgdir}/usr/LH/bin/ install -D -m755 upgrade_screen_rc ${pkgdir}/usr/LH/etc/ mkdir -p ${pkgdir}/etc/sv/pause-mythcommflag/supervise cp run-pause-mythcommflag ${pkgdir}/etc/sv/pause-mythcommflag/run @@ -110,4 +111,5 @@ md5sums=('f56985b2d602e11dc1e10d3e7848b2a5' '54a478660d0f8150fe10112a9ecf2740' '503df99218373dfc75e7e7f5e449a44e' 'b608044c9e7530a400d8f5b88fdfe6e6' - 'e2e24dd59d5d576cc33feafb329fa302') + 'e2e24dd59d5d576cc33feafb329fa302' + '33fbebbd546672cedd3c5e7350ab414e') diff --git a/abs/core/linhes-scripts/get_airplay_key b/abs/core/linhes-scripts/get_airplay_key new file mode 100755 index 0000000..89a40dd --- /dev/null +++ b/abs/core/linhes-scripts/get_airplay_key @@ -0,0 +1,6 @@ +#!/bin/bash + +. /usr/MythVantage/bin/install_functions.sh +curl https://raw.github.com/juhovh/shairplay/master/airport.key > $MYTHHOME/.mythtv/RAOPKey.rsa +chmod 755 $MYTHHOME/.mythtv/RAOPKey.rsa +chown mythtv:mythtv $MYTHHOME/.mythtv/RAOPKey.rsa \ No newline at end of file -- cgit v0.12