From 556899c2c8924ee4966aafeb99ac03d9b297345d Mon Sep 17 00:00:00 2001 From: Someone Date: Thu, 10 Jan 2013 21:19:15 +0100 Subject: [PATCH] Added copyright + licence header to my code --- mkbak-etc.sh | 16 ++++++++++++++++ mkbak-sys.sh | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/mkbak-etc.sh b/mkbak-etc.sh index 61c86c6..5a89980 100755 --- a/mkbak-etc.sh +++ b/mkbak-etc.sh @@ -1,4 +1,20 @@ #!/bin/bash +# +# Copyright 2011 by Jan Vales (Someone ) +# +# 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, version 3 of the License. +# +# 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 . +# + BAKNAME="/root/sysbackup/bak_${HOSTNAME}_etc_`date --rfc-3339=date`.tbz2" echo "backup started: ${BAKNAME}" tar -cjpf ${BAKNAME} /etc diff --git a/mkbak-sys.sh b/mkbak-sys.sh index 81dddbd..d9dca6b 100755 --- a/mkbak-sys.sh +++ b/mkbak-sys.sh @@ -1,4 +1,20 @@ #!/bin/bash +# +# Copyright 2011 by Jan Vales (Someone ) +# +# 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, version 3 of the License. +# +# 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 . +# + BAKNAME="/root/sysbackup/bak_${HOSTNAME}_sys_`date --rfc-3339=date`.tbz2" echo "backup started: ${BAKNAME}" mount /boot -- 2.43.0