From c76040f619fe4378830020b43225ec68b0309d59 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 16 Oct 2018 18:14:09 +0200 Subject: put: more fallbacks --- etc/functions/put | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/functions/put b/etc/functions/put index 40c9761..300be7b 100644 --- a/etc/functions/put +++ b/etc/functions/put @@ -26,7 +26,23 @@ function put_strata { max_size=0 } -hosts=(strata steel) +function put_epicentre { + hostname='epicentre.derf0.net' + ssh_name='epicentre' + target_dir='web/default/out/tmp' + server_prefix='https://epicentre.derf0.net/tmp/' + max_size=0 +} + +function put_chaosdorf { + hostname='extern.chaosdorf.de' + ssh_name='extern.chaosdorf.de' + target_dir='public_html/tmp' + server_prefix='https://chaosdorf.de/~derf/tmp/' + max_size=0 +} + +hosts=(strata epicentre chaosdorf) while [[ ${1} == -* ]] { case ${1} in -- cgit v1.2.3