]> mj.ucw.cz Git - eval.git/commitdiff
install-certs has been superseded by mo-push-certs.
authorMartin Mares <mj@ucw.cz>
Thu, 15 May 2008 10:16:19 +0000 (12:16 +0200)
committerMartin Mares <mj@ucw.cz>
Thu, 15 May 2008 10:16:19 +0000 (12:16 +0200)
submit/install-certs [deleted file]

diff --git a/submit/install-certs b/submit/install-certs
deleted file mode 100755 (executable)
index 6498e81..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-set -e
-while IFS="    " read LOGIN FULL MACH ; do
-       if [ -z "$1" -o "$1" == "$LOGIN" ] ; then
-               echo "$LOGIN -> $MACH"
-               D=/mo/users/$LOGIN/$LOGIN/
-               ssh root@$MACH "cd $D && rm -rf .mo && mkdir .mo"
-               scp certs/$LOGIN-cert.pem root@$MACH:$D/.mo/cert.pem
-               scp certs/$LOGIN-key.pem root@$MACH:$D/.mo/key.pem
-               scp certs/ca-cert.pem root@$MACH:$D/.mo/ca-cert.pem
-               ssh root@$MACH "cd $D && chmod 600 .mo/key.pem && chown $LOGIN.$LOGIN .mo -R"
-       fi </dev/null
-done <userlist