mkbotpass.sh: Utility to generate `botpass.tcl'.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 1 Sep 2012 17:19:39 +0000 (18:19 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 1 Sep 2012 17:19:39 +0000 (18:19 +0100)
mkbotpass.sh [new file with mode: 0755]

diff --git a/mkbotpass.sh b/mkbotpass.sh
new file mode 100755 (executable)
index 0000000..6a3af70
--- /dev/null
@@ -0,0 +1,7 @@
+#! /bin/sh -e
+rm -f botpass.tcl.new
+umask 077
+cat <<EOF >botpass.tcl.new
+set botpass $(gorp 128)
+EOF
+mv botpass.tcl.new botpass.tcl