From 858d4fc46ef8b6c14815c137182c9bed9a6c5043 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 20 Apr 2012 08:39:32 -0400 Subject: [PATCH] minor updates. --- scripts/multimedia/sound_play.sh | 1 + scripts/security/uva_web_proxy.sh | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/multimedia/sound_play.sh b/scripts/multimedia/sound_play.sh index 72054185..f499d30b 100644 --- a/scripts/multimedia/sound_play.sh +++ b/scripts/multimedia/sound_play.sh @@ -30,3 +30,4 @@ fi for i in $*; do $PLAYCMD $i >/dev/null 2>&1; done exit 0 + diff --git a/scripts/security/uva_web_proxy.sh b/scripts/security/uva_web_proxy.sh index c7c51eda..fe4fa403 100644 --- a/scripts/security/uva_web_proxy.sh +++ b/scripts/security/uva_web_proxy.sh @@ -4,6 +4,9 @@ # a web proxy like squid. when used for SMTP, it ensures that none of the # text is seen on whatever network one is on before it's sent from the remote # server. +# +# it accepts a single parameter so far, which will be used as the name of a +# sound file to play. #hmmm: none of the user info below will work for others: parameterize it. @@ -18,7 +21,6 @@ while true; do echo Connecting uva web sites via khandroma. ssh -i $HOME/.ssh/id_dsa_fred -2 -N -v -D localhost:14420 fred@khandroma.cs.virginia.edu bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh $soundfile -#hmmm: parameterize this for the sound to be played. doofus. echo "Got dumped from tunnels; re-establishing connection." echo "Note: if you're being asked for a password, you haven't set up an RSA key yet." sleep 14 -- 2.34.1