summaryrefslogtreecommitdiffstats
path: root/god/ivan
diff options
context:
space:
mode:
authormomo <m@hackathon.de>2013-09-25 22:09:24 +0200
committermomo <m@hackathon.de>2013-09-25 22:09:24 +0200
commit27ea17eaeb5432c73b9545231ed88aa23e4e0df3 (patch)
tree7fb0cacd17a978dff2c3ef8542a729d423d26ad8 /god/ivan
parent63bb2160fb16c28f5ba3275876310b5971eb6f98 (diff)
parent80c2b9c59c7417cd066d0e510ab18d1ae2d7904f (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'god/ivan')
-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