summaryrefslogtreecommitdiffstats
path: root/abs/extra/web-on-linhes/web-on-linhes.sh
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-01-09 15:48:34 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-01-09 15:48:34 (GMT)
commitd0045640af11043af151ae0768002c5382259537 (patch)
tree957cbd656df81a107d98f8ba80651f6589964e2c /abs/extra/web-on-linhes/web-on-linhes.sh
parent8d3d5fc17ddda68793375eb9910213eee8f1bf67 (diff)
downloadlinhes_pkgbuild-d0045640af11043af151ae0768002c5382259537.zip
linhes_pkgbuild-d0045640af11043af151ae0768002c5382259537.tar.gz
linhes_pkgbuild-d0045640af11043af151ae0768002c5382259537.tar.bz2
web-on-linhes: add espn.com
add /home/mythtv/.wol-custom-cmds.sh to run cmds to control a web page
Diffstat (limited to 'abs/extra/web-on-linhes/web-on-linhes.sh')
-rw-r--r--abs/extra/web-on-linhes/web-on-linhes.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/abs/extra/web-on-linhes/web-on-linhes.sh b/abs/extra/web-on-linhes/web-on-linhes.sh
index 48414e9..3c458dd 100644
--- a/abs/extra/web-on-linhes/web-on-linhes.sh
+++ b/abs/extra/web-on-linhes/web-on-linhes.sh
@@ -7,7 +7,10 @@ irxPID=$!
stop_xss.sh &
xssPID=$!
#Launches chrome in full screen
-(sleep 1; wmctrl -r "Google Chrome" -b add,fullscreen) &
+(sleep 3; wmctrl -r "Google Chrome" -b add,fullscreen) &
+#Launches file to run any custom cmds
+(sleep 4; /home/mythtv/.wol-custom-cmds.sh $@) &
+#Launch chrome
google-chrome --no-first-run --kiosk $@
#Once done, stops irxevent and stop_xss.sh
kill $irxPID