summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+