From 444081887459f5afb59f70ea13c9343d72019750 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 14 Jul 2010 21:17:36 +0200 Subject: put: Add steel --- etc/functions/put | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'etc/functions') diff --git a/etc/functions/put b/etc/functions/put index c178497..940c22c 100644 --- a/etc/functions/put +++ b/etc/functions/put @@ -2,7 +2,7 @@ ## put - make a file available via HTTP ## supports as many 'failover' hosts as an array can hold ## Usage: put -## Copyright (C) 2008, 2009 by Daniel Friesel +## Copyright © 2008 - 2010 by Daniel Friesel ## License: WTFPL typeset hostname ssh_name @@ -22,7 +22,15 @@ function put_aneurysm { ssh_name='aneurysm' target_dir='public_html/tmp/' server_prefix='http://derf.homelinux.org/tmp/' - max_size=2000000 + max_size=700000 +} + +function put_steel { + hostname='steel.derf0.net' + ssh_name='steel' + target_dir='public_html/tmp/' + server_prefix='http://steel.derf0.net/tmp/' + max_size=0 } function put_chaosdorf { @@ -33,7 +41,7 @@ function put_chaosdorf { max_size=0 } -hosts=(aneurysm chaosdorf) +hosts=(aneurysm steel chaosdorf) while [[ ${1} == -* ]] { case ${1} in -- cgit v1.2.3