diff options
author | Kévin Raymond <kraymond@avencall.com> | 2012-10-05 22:24:15 +0200 |
---|---|---|
committer | Kévin Raymond <kraymond@avencall.com> | 2012-10-05 22:24:15 +0200 |
commit | 583a242f02f0084e8b21d31c694694f5aaa9e37f (patch) | |
tree | c8b2c1b8f0b087fdc07f489b03be89484269c32f | |
parent | a509b177a20c8b97c02069e5de838a9f34f30dbb (diff) |
doc
-rw-r--r-- | board/massive_call/README | 9 | ||||
-rw-r--r-- | board/massive_call/massive_screen | 11 | ||||
-rwxr-xr-x | board/update_boards.sh | 6 |
3 files changed, 24 insertions, 2 deletions
diff --git a/board/massive_call/README b/board/massive_call/README index 1dcfdf1..8bdee26 100644 --- a/board/massive_call/README +++ b/board/massive_call/README @@ -4,3 +4,12 @@ ~/repo/hw/xioh-acceptance/board $ ./update_boards.sh + + + +while [ $? -eq 0 ]; do sleep 1 && nc 127.0.0.1 5038 -e ./run.sh; done + +while true; do sleep 5 && cat pool; done + +screen -c massive_screen + diff --git a/board/massive_call/massive_screen b/board/massive_call/massive_screen new file mode 100644 index 0000000..fa8d7f1 --- /dev/null +++ b/board/massive_call/massive_screen @@ -0,0 +1,11 @@ +source ~/.screenrc + +screen -t "count" + stuff "while true; do sleep 5 && cat /usr/share/xioh/pool; done^M" + +screen -t "asterisk" + stuff "asterisk -rvvv
" + +screen -t "run" + stuff "cd /usr/share/xioh/
" + stuff "while [ $? -eq 0 ]; do sleep 1 && nc 127.0.0.1 5038 -e ./run.sh; done
" diff --git a/board/update_boards.sh b/board/update_boards.sh index cd3da65..ed3fbdd 100755 --- a/board/update_boards.sh +++ b/board/update_boards.sh @@ -3,8 +3,10 @@ command() { # scp xivoxhfc.ko $1:/lib/modules/2.6.32-5-686/xioh/ - scp massive_call/manager.conf $1:/etc/asterisk/ - scp massive_call/run.sh $1:/usr/share/xioh/ +# scp massive_call/manager.conf $1:/etc/asterisk/ +# scp massive_call/run.sh $1:/usr/share/xioh/ + scp ~/.screenrc $1:~/ + scp massive_call/massive_screen $1:~/ } for i in {20..23} |