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/curl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 plugins/curl (limited to 'plugins/curl') diff --git a/plugins/curl b/plugins/curl new file mode 100755 index 0000000..8e658cc --- /dev/null +++ b/plugins/curl @@ -0,0 +1,13 @@ +#!/bin/dash + +# curl plugin +# +# ENVIRONMENT VARIABLES: +# URL URL to download known_hosts file from +# + +set -e + +curl -Rz "./current" -m 300 -o new "${URL}" + +# vim:set ft=sh: -- cgit v1.2.3