2 matrixgui
="/usr/bin/matrix_guiE"
3 GUI_OPTS
="-qws -geometry 720x480+0+10 -display transformed:Rot0 /usr/share/matrix/html/menu_main.html"
5 test -x "$matrixgui" ||
exit 0
12 # switch to component 480p mode
13 echo 480P-60
> /sys
/class
/davinci_display
/ch
0/mode
14 echo COMPONENT
> /sys
/class
/davinci_display
/ch
0/output
15 echo -n "Starting Matrix GUI application"
16 start-stop-daemon
--start --quiet --background --pidfile /var
/run
/matrix-gui-e.pid
--exec $matrixgui -- $GUI_OPTS
20 echo -n "Stopping Matrix GUI application"
21 start-stop-daemon
--stop --quiet --pidfile /var
/run
/matrix-gui-e.pid
25 echo "Usage: /etc/init.d/matrix-gui-e {start|stop}"