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