From bb984749ba1efff22877517c357400d3e65069cd Mon Sep 17 00:00:00 2001 From: short <> Date: Tue, 10 Jul 2001 18:30:04 +0000 Subject: [PATCH] rc files distributing script --- bin/distini | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 bin/distini diff --git a/bin/distini b/bin/distini new file mode 100755 index 0000000..b3359c6 --- /dev/null +++ b/bin/distini @@ -0,0 +1,17 @@ +#!/bin/sh +for i in \ + atrey.karlin.mff.cuni.cz \ + k332.feld.cvut.cz \ + ulab-1.ms.mff.cuni.cz \ + gate.ericsson.cz \ + alcor.ericsson.cz \ + gps.geoinvest.cz \ +;do if [ "`hostname -f`" \!= $i ];then + echo -n $i + scp ~/.bashrc ~/.profile ~/.muttrc $i: + echo -n . + scp ~/.ssh/config ~/.ssh/authorized_keys $i:.ssh/ + echo -n . + scp ~/bin/distini $i:bin/ + echo +fi;done -- 1.8.3.1