From: Chris Koeritz Date: Sat, 28 Apr 2012 15:53:25 +0000 (-0400) Subject: new sound file, updated khandroma script using logic from start tunnels. X-Git-Tag: 2.140.90~1381 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=f8d41b34b71f04421a7b9634717a04dfce0ac12e;hp=537c01c4d0075f150f4bb6e479e476b0c57a8a2b;p=feisty_meow.git new sound file, updated khandroma script using logic from start tunnels. really we just need start tunnels to use a variable, and that would fix all these different scripts romping around. the same approach could be used to make the proxying script generic. --- diff --git a/database/sounds/my_mind_is_going.wav b/database/sounds/my_mind_is_going.wav new file mode 100755 index 00000000..e1d50a8f Binary files /dev/null and b/database/sounds/my_mind_is_going.wav differ diff --git a/scripts/security/khandroma_tunnels.sh b/scripts/security/khandroma_tunnels.sh index 3491f466..70b09dc5 100644 --- a/scripts/security/khandroma_tunnels.sh +++ b/scripts/security/khandroma_tunnels.sh @@ -1,3 +1,38 @@ -ssh -i $HOME/.ssh/id_dsa_fred -2 -N -v -L "*:5908:localhost:5908" fred@khandroma.cs.virginia.edu &>~/.tmp/zz_tunnel_khandro_w7.log & -ssh -i $HOME/.ssh/id_dsa_fred -2 -N -v -L "*:4040:localhost:8080" fred@khandroma.cs.virginia.edu &>~/.tmp/zz_tunnel_khandro_jenkins.log & +#!/bin/bash +# tunnels to the khandroma machine for vnc access to the win7 box and for the jenkins +# server. + +soundfile=$FEISTY_MEOW_DIR/database/sounds/my_mind_is_going.wav +if [ ! -z "$1" ]; then + soundfile=$1 +fi + +while true; do + echo Connecting jenkins and vms at khandroma. + ssh -i $HOME/.ssh/id_dsa_fred -2 -N -v -L "*:5908:localhost:5908" -L "*:4040:localhost:8080" fred@khandroma.cs.virginia.edu &>~/.tmp/zz_tunnel_khandro_jenkins_vnc.log & + bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh $soundfile &>/dev/null