summaryrefslogtreecommitdiffstats
path: root/abs/extra/web-on-linhes/web-on-linhes.sh
blob: bf5c7943398f965d8101cc984ca0255359f6044c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#Script to facilitate Web On LinHES
#Runs irxevent
irxevent /etc/wol-lircrc &
irxPID=$!
#Stops xscreensaver from running.
stop_xss.sh &
xssPID=$!
#Launches chrome in full screen; isn't needed as --start-maximized is working again
#(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 --start-maximized $@
#Once done, stops irxevent and stop_xss.sh
kill $irxPID
kill $xssPID