fixes
This commit is contained in:
parent
984b2247ed
commit
e60d4d0ccd
2 changed files with 8 additions and 3 deletions
|
@ -11,6 +11,7 @@ for HOST in `cat "$1"`; do
|
|||
>&2 echo "provisioning host $HOST"
|
||||
ssh pi@$HOST "if [ ! -d \$HOME/.ssh ]; then mkdir \$HOME/.ssh; fi; echo `cat $HOME/.ssh/id_rsa.pub` >> \$HOME/.ssh/authorized_keys; chmod 700 \$HOME/.ssh; chmod 644 \$HOME/.ssh/authorized_keys"
|
||||
for FILE in HOSTS SERVERIP stream.sh set_hostname.sh v4lcap.c; do scp $FILE pi@$HOST:$FILE; done
|
||||
ssh pi@$HOST "sudo apt-get -y install screen"
|
||||
ssh pi@$HOST "make v4lcap"
|
||||
ssh pi@$HOST "cd \$HOME && bash set_hostname.sh"
|
||||
ssh pi@$HOST "sudo reboot"
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
#!/bin/bash
|
||||
FLAGS="-a"
|
||||
#FLAGS="-as"
|
||||
#FLAGS="-a"
|
||||
FLAGS="-as"
|
||||
#STRACE=""
|
||||
STRACE="strace -o TRACE"
|
||||
|
||||
echo -ne "\033]0;CONTROL\007"
|
||||
echo "*** NOTE wait a few then run fix_windows.sh in a different wimdow ***"
|
||||
./acatcher $FLAGS | (aplay -t raw -c 1 -f S16_LE -r 22050 > /dev/null 2> /dev/null)
|
||||
$STRACE ./acatcher $FLAGS | (aplay -t raw -c 1 -f S16_LE -r 22050 > /dev/null 2> /dev/null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue