path: root/libexec/check_ftp
diff options
authorTom Ryder <tom@sanctum.geek.nz>2021-08-24 00:27:18 +1200
committerTom Ryder <tom@sanctum.geek.nz>2021-08-24 00:40:44 +1200
commit13034d1a37e6fa427624d4e548663363eaa37a79 (patch)
tree94d8aafe328892aea4bc59a1d770bf625be27f73 /libexec/check_ftp
parentAdd README, bump VERSION (diff)
Relicense from MIT to GPLv3+
Diffstat (limited to 'libexec/check_ftp')
1 files changed, 21 insertions, 4 deletions
diff --git a/libexec/check_ftp b/libexec/check_ftp
index 3ec2899..3ff4654 100644
--- a/libexec/check_ftp
+++ b/libexec/check_ftp
@@ -1,11 +1,27 @@
+# Copyright (C) 2020--2021 Tom Ryder <tom@sanctum.geek.nz>
+# This file is part of nagios-check-ftp.
+# nagios-check-ftp is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
+# nagios-check-ftp is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+# You should have received a copy of the GNU General Public License along with
+# nagios-check-ftp. If not, see <https://www.gnu.org/licenses/>.
# Check that we can connect to an FTP server, with opportunistic TLS; the
# check_ftp plugin that comes with Monitoring::Plugin doesn't do this.
-# Author: Tom Ryder <tom@sanctum.geek.nz>
-# License: MIT
package main;
# Force me to write this properly
@@ -32,7 +48,8 @@ This plugin makes an FTP connection to a nominated server, optionally including
a STARTTLS upgrade for FTPS. It does not support implicit FTPS.
our $LICENSE = <<'EOF';
-MIT License <https://opensource.org/licenses/MIT>
+GNU General Public License, Version 3 or newer
# Custom plugin options