From: Martin Mares Date: Thu, 15 May 2008 10:16:19 +0000 (+0200) Subject: install-certs has been superseded by mo-push-certs. X-Git-Tag: python-dummy-working~197 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=687a3dc8950d08243ebf874644f9f0b38fe60cbe;p=moe.git install-certs has been superseded by mo-push-certs. --- diff --git a/submit/install-certs b/submit/install-certs deleted file mode 100755 index 6498e81..0000000 --- a/submit/install-certs +++ /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