summaryrefslogtreecommitdiffstats
path: root/modules/noise/cron/bin/zeit
diff options
context:
space:
mode:
authorroot <root@krebs>2011-05-05 09:38:59 +0200
committerroot <root@krebs>2011-05-05 09:40:02 +0200
commit4b65c37645b6b72a0531fbbdb75310bf93ee99de (patch)
treecadbdc291b643977145351223cd86cadd4fea17c /modules/noise/cron/bin/zeit
parentde22a358dd7276cc2d818c99f08ff25997386c8f (diff)
modules/noise: prepare for import to krebscode
Diffstat (limited to 'modules/noise/cron/bin/zeit')
-rwxr-xr-xmodules/noise/cron/bin/zeit16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/noise/cron/bin/zeit b/modules/noise/cron/bin/zeit
new file mode 100755
index 00000000..ec50c898
--- /dev/null
+++ b/modules/noise/cron/bin/zeit
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+expect >/dev/null <<EOF
+spawn nc localhost telnet
+expect READY.
+send "/zeit\r"
+expect READY.
+# pitch set to 10
+expect READY.
+# Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
+expect READY.
+# pitch changed from 10 to 100
+expect READY.
+EOF
+sleep 1
+/sbin/morse -l 100 -f 700 `date +%k`