summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYour Name <you@example.com>2013-09-22 12:28:27 +0200
committerYour Name <you@example.com>2013-09-22 12:28:27 +0200
commit534824c768f5731f4e9ccd6983bb9d0f9cfd8590 (patch)
tree7b196fefd5a5f9fed68eba83f731c57176290c5d
parent7f18a3e2d4abfa3fcff713add25085fb47a6385c (diff)
ivan: add 'Achtung Achtung'
-rwxr-xr-xgod/ivan/ivan4
1 files changed, 4 insertions, 0 deletions
diff --git a/god/ivan/ivan b/god/ivan/ivan
index c35cccf7..136527f4 100755
--- a/god/ivan/ivan
+++ b/god/ivan/ivan
@@ -8,6 +8,8 @@ k="${noise_capital-0}"
a="${noise_amplitude-600}"
g="${noise_gap-1}"
RND_DELAY=3600
+CACHE_DIR=/opt/ivan-cache
+export CACHE_DIR
#set -x
function helpme ()
{
@@ -29,6 +31,8 @@ do
if [ -n "${USING_ESPEAK:-}" ];then
espeak -v $v -p $p -k $k -a $a -g $g "`shuf \"$SATZ_LISTE\" | tail -1`"
else
+ ./naturalvoices_cached.sh "Achtung, Achtung, es erfolgt eine Durchsage!"
+ sleep 0.3
./naturalvoices_cached.sh "`shuf \"$SATZ_LISTE\" | tail -1`"
fi
[ ! "${1:-}" = "-d" ] && exit 0 # break if not daemonized