chiark
/
gitweb
/
~mdw
/
ircbot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8db8c10
)
mkbotpass.sh: Utility to generate `botpass.tcl'.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 1 Sep 2012 17:19:39 +0000
(18:19 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 1 Sep 2012 17:19:39 +0000
(18:19 +0100)
mkbotpass.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/mkbotpass.sh
b/mkbotpass.sh
new file mode 100755
(executable)
index 0000000..
6a3af70
--- /dev/null
+++ b/
mkbotpass.sh
@@ -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