make start.sh work, and set up camera
[sparrow.git] / start.sh
blob6694014781b861746e84e39f136b30d0b4ce43dd
1 #!/bin/bash
2 #0 get in place
4 sleep 20
6 cd /home/douglas/sparrow
7 [[ "$DISPLAY" ]] || export DISPLAY=:0
10 #1 initialisation
11 #1.1 tune camera?
13 v4l2ctrl -l /home/douglas/sparrow.conf
15 #xrandr
17 #1.2 start up reverse ssh tunnel
19 #2 go
20 while true; do
21 echo hello
22 ./gtk-app -f --screens=2 --fps=20 -c
23 done