From b57ac4739e47d4f36f15210526963d07be3ac0c0 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Tue, 10 Jan 2023 01:48:40 -0500 Subject: [PATCH] add license header to tiny scripts for completeness --- ftp-addkey.sh | 14 ++++++++++++++ ftp-rmkey.sh | 14 ++++++++++++++ generate-ftpindex.sh | 13 +++++++++++++ 3 files changed, 41 insertions(+) diff --git a/ftp-addkey.sh b/ftp-addkey.sh index 4b89785..4770ca3 100755 --- a/ftp-addkey.sh +++ b/ftp-addkey.sh @@ -4,6 +4,20 @@ # ftp.gnu.org. # +# This program 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. + +# This program 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 this program. If not, see . + + PACKAGES=/home/gatekpr/packages if ( ([ "$1" = "" ]) || ([ "$2" = "" ]) || ([ "$3" = "" ]) ) diff --git a/ftp-rmkey.sh b/ftp-rmkey.sh index 5fa12f4..a7efa95 100755 --- a/ftp-rmkey.sh +++ b/ftp-rmkey.sh @@ -8,6 +8,20 @@ # # written by baughj, 2006.04.05 +# This program 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. + +# This program 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 this program. If not, see . + + PACKAGES=/home/gatekpr/packages EXPIRED_KEYRING=/home/gatekpr/expired-gnu-keys.gpg diff --git a/generate-ftpindex.sh b/generate-ftpindex.sh index 4800771..58cd618 100644 --- a/generate-ftpindex.sh +++ b/generate-ftpindex.sh @@ -1,5 +1,18 @@ #!/bin/sh +# This program 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. + +# This program 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 this program. If not, see . + ls -lrRt /home/ftp | gzip -9 -c > /home/ftp/ls-lrRt.txt.gz cd /home/ftp find . | gzip -9 -c > /home/ftp/find.txt.gz -- 2.25.1