summaryrefslogtreecommitdiff
path: root/bin/updateConfig.sh
diff options
context:
space:
mode:
authorDavid Kaufmann <astra@ionic.at>2017-04-26 01:41:50 +0200
committerDavid Kaufmann <astra@ionic.at>2017-04-26 01:41:50 +0200
commitd7ff0b69b9bd0794bf946f77f97f9f01272a2086 (patch)
treee2c12d3f278ef6edb846be4a37d6ed7dd44e920e /bin/updateConfig.sh
parentf4dd7a1c32211e8412c276d33483eed4109a6789 (diff)
downloadconfig-d7ff0b69b9bd0794bf946f77f97f9f01272a2086.tar.gz
restructure update
Diffstat (limited to 'bin/updateConfig.sh')
-rwxr-xr-xbin/updateConfig.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/bin/updateConfig.sh b/bin/updateConfig.sh
deleted file mode 100755
index ffa35e4..0000000
--- a/bin/updateConfig.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-# goto root dir (this script resides in src)
-BASEDIR=`dirname $(readlink -f $0)`
-cd ${BASEDIR}/../
-
-#ALLHOSTS=`cat ~/.ssh/config | egrep "^Host" | egrep -v "nohome|noshell|localnet|offline" | sed 's/^Host //' | sed 's/ #.*//' | tr '\n' ' ' | sed 's/ $//' `
-ALLHOSTS=`cat ~/.ssh/config | egrep "^Host" | egrep -v "nohome|noshell|noconfig|localnet|offline|\!|\*|\+" | sed 's/^Host \([^ ]*\).*/\1/'`
-HOSTS=${HOSTS:-$ALLHOSTS}
-
-echo "loaded keys:"
-ssh-add -l
-
-echo "updated hosts:"
-echo $HOSTS
-
-echo "waiting 10 seconds"
-sleep 10
-
-echo "Run new load.sh"
-pssh -i --host "$HOSTS" -t 120 "rm -f load.sh ; curl -s https://pluto.fsinf.at/~astra/config/load.sh | bash"