diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-12-29 10:26:27 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-12-29 10:26:27 (GMT) |
commit | a2f7caee648d7e8f190c61714262ff81e8196eb5 (patch) | |
tree | 3ff15c6ea61fc606012742bb9e893d1d370722cd | |
parent | 8134f53bfbcabff9689b8054dabd47c52a75723e (diff) | |
download | site-a2f7caee648d7e8f190c61714262ff81e8196eb5.tar.gz |
check-mirrors: Add contact information
Add a comment with contact addresses and other information for each of
our mirrors.
-rwxr-xr-x | bin/check-mirrors | 68 |
1 files changed, 63 insertions, 5 deletions
diff --git a/bin/check-mirrors b/bin/check-mirrors index 7f087ee..7fbc65c 100755 --- a/bin/check-mirrors +++ b/bin/check-mirrors | |||
@@ -12,17 +12,75 @@ | |||
12 | # ANY WARRANTY, to the extent permitted by law; without even the implied | 12 | # ANY WARRANTY, to the extent permitted by law; without even the implied |
13 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 13 | # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
14 | 14 | ||
15 | mirrors=' | ||
16 | ftp://ftp.fu-berlin.de/unix/network/nagios-plugins/ | ||
17 | ftp://ftp.lysator.liu.se/pub/nagios-plugins/ | ||
18 | ftp://mirrors.ustc.edu.cn/nagios-plugins/ | ||
19 | ' | ||
20 | # | ||
21 | # Our mirrors: | ||
22 | # | ||
23 | # GERMANY | ||
24 | # | ||
25 | # URLs: | ||
26 | # - ftp://ftp.fu-berlin.de/unix/network/nagios-plugins/ | ||
27 | # | ||
28 | # Features: | ||
29 | # - IPv4 | ||
30 | # - 10 GBit/s | ||
31 | # | ||
32 | # Contacts: | ||
33 | # - Mirror Admins <ftp AT fu-berlin.de> | ||
34 | # - Holger Weiss <holger AT zedat.fu-berlin.de> | ||
35 | # | ||
36 | # Home page: | ||
37 | # - http://www.fu-berlin.de/en/ | ||
38 | # | ||
39 | # SWEDEN | ||
40 | # | ||
41 | # URLs: | ||
42 | # - ftp://ftp.lysator.liu.se/pub/nagios-plugins/ | ||
43 | # - http://ftp.lysator.liu.se/pub/nagios-plugins/ | ||
44 | # - https://ftp.lysator.liu.se/pub/nagios-plugins/ | ||
45 | # - rsync://ftp.lysator.liu.se/pub/nagios-plugins/ | ||
46 | # | ||
47 | # Features: | ||
48 | # - IPv4 | ||
49 | # - IPv6 | ||
50 | # - 1 GBit/s | ||
51 | # | ||
52 | # Contacts: | ||
53 | # - Mirror Admins <ftp-master AT lysator.liu.se> | ||
54 | # - Niclas Zeising <zeising AT lysator.liu.se> | ||
55 | # | ||
56 | # Home page: | ||
57 | # - http://www.lysator.liu.se/english.html | ||
58 | # | ||
59 | # CHINA | ||
60 | # | ||
61 | # URLs: | ||
62 | # - ftp://mirrors.ustc.edu.cn/nagios-plugins/ | ||
63 | # - http://mirrors.ustc.edu.cn/nagios-plugins/ | ||
64 | # - rsync://mirrors.ustc.edu.cn/nagios-plugins/ | ||
65 | # | ||
66 | # Features: | ||
67 | # - IPv4 | ||
68 | # - IPv6 | ||
69 | # | ||
70 | # Contacts: | ||
71 | # - Mirror Admins <lug AT ustc.edu.cn> | ||
72 | # - Roy Zhang <pudh4418 AT gmail.com> | ||
73 | # | ||
74 | # Home page: | ||
75 | # - http://lug.ustc.edu.cn/ | ||
76 | # | ||
77 | |||
15 | set -e | 78 | set -e |
16 | set -u | 79 | set -u |
17 | umask 022 | 80 | umask 022 |
18 | 81 | ||
19 | export PATH='/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' | 82 | export PATH='/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' |
20 | 83 | ||
21 | mirrors=' | ||
22 | ftp://ftp.fu-berlin.de/unix/network/nagios-plugins/ | ||
23 | ftp://ftp.lysator.liu.se/pub/nagios-plugins/ | ||
24 | ftp://mirrors.ustc.edu.cn/nagios-plugins/ | ||
25 | ' | ||
26 | prefix='/home/plugins' | 84 | prefix='/home/plugins' |
27 | myself=${0##*/} | 85 | myself=${0##*/} |
28 | download_dir="$prefix/web/download" | 86 | download_dir="$prefix/web/download" |