blob: 3c458ddbf9b6c365dbcda4c0d49b205fee9d1126 (
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
(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
kill $xssPID
|