summaryrefslogtreecommitdiffstats
path: root/god/overlord
diff options
context:
space:
mode:
authorMomo <momorientes@online.de>2011-09-09 14:57:09 +0200
committerMomo <momorientes@online.de>2011-09-09 14:57:09 +0200
commite73eebac6be277bb20d1effc25d4c29900eb1df1 (patch)
tree7f5203887a013c35cdf323d58ba5013153754688 /god/overlord
parentd1d4eebf357f48690d6aeba9eb77e4bb1a25c66d (diff)
//god/overlord initial commit
Diffstat (limited to 'god/overlord')
-rw-r--r--god/overlord8
1 files changed, 8 insertions, 0 deletions
diff --git a/god/overlord b/god/overlord
new file mode 100644
index 00000000..087303cb
--- /dev/null
+++ b/god/overlord
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+announcement=$1
+LC_ALL=C aplay -l|sed -n 's/^card \([0-9]\+\):.*\[USB Audio\]$/\1/p'
+
+mplayer -ao=alsa:device=surround40:CARD=default,DEV=0 announce.mp3
+/krebs/util/bin/natural $announcement
+