summaryrefslogtreecommitdiffstats
path: root/abs/extra/web-on-linhes/web-on-linhes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/web-on-linhes/web-on-linhes.sh')
-rw-r--r--abs/extra/web-on-linhes/web-on-linhes.sh14
1 files changed, 8 insertions, 6 deletions
diff --git a/abs/extra/web-on-linhes/web-on-linhes.sh b/abs/extra/web-on-linhes/web-on-linhes.sh
index 11098ba..7d9b99b 100644
--- a/abs/extra/web-on-linhes/web-on-linhes.sh
+++ b/abs/extra/web-on-linhes/web-on-linhes.sh
@@ -1,11 +1,13 @@
#!/bin/sh
#Script to facilitate Web On LinHES
#Runs irxevent
-irxevent /home/mythtv/.mythtv/wol-lircrc &
-#Stops xscreensaver from running.
+irxevent /etc/wol-lircrc &
+irxPID=$!
+#Stops xscreensaver from running.
stop_xss.sh &
-#Launches chromium in full screen
-chromium $@
+xssPID=$!
+#Launches chrome in full screen
+google-chrome --no-first-run --user-data-dir=/home/mythtv/.cache/google-chrome/Default/ --kiosk $@
#Once done, stops irxevent and stop_xss.sh
-killall irxevent
-killall stop_xss.sh
+kill $irxPID
+kill $xssPID