From 8f32f842b33bdc6617b41dc9f18b222fd3013e21 Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Sat, 25 Feb 2012 21:08:57 +0100 Subject: Imported Debian version 0.1 --- plugins/rsync | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 plugins/rsync (limited to 'plugins/rsync') diff --git a/plugins/rsync b/plugins/rsync new file mode 100755 index 0000000..17a1e54 --- /dev/null +++ b/plugins/rsync @@ -0,0 +1,14 @@ +#!/bin/dash + +# rsync plugin +# +# ENVIRONMENT VARIABLES: +# URL URL to download known_hosts file from +# + +set -e + +ln -f current new || true +rsync -vt --timeout=300 "${URL}" new + +# vim:set ft=sh: -- cgit v1.2.3