summaryrefslogtreecommitdiff
path: root/plugins/curl
blob: 8e658cced05f1627d17454804866e722b992afde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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: