From d4fec4cb4373442d96351ed611a43f7817a1e5b5 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Fri, 18 Jun 2010 14:35:22 +1200 Subject: [PATCH] make start.sh work, and set up camera --- start.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) mode change 100644 => 100755 start.sh diff --git a/start.sh b/start.sh old mode 100644 new mode 100755 index 020bdf6..6694014 --- a/start.sh +++ b/start.sh @@ -1,17 +1,23 @@ #!/bin/bash #0 get in place +sleep 20 + cd /home/douglas/sparrow -[[ "$DISPLAY" ]] || $export DISPLAY=:0 +[[ "$DISPLAY" ]] || export DISPLAY=:0 #1 initialisation #1.1 tune camera? +v4l2ctrl -l /home/douglas/sparrow.conf + +#xrandr #1.2 start up reverse ssh tunnel #2 go - -./gtk-app -f --screens=2 -fps=20 --serial-calibration - +while true; do + echo hello + ./gtk-app -f --screens=2 --fps=20 -c +done -- 2.11.4.GIT