X-Git-Url: https://codewiz.org/gitweb?p=wizbackup.git;a=blobdiff_plain;f=wizbackup-driver;h=abda39ef496ef905794755a4dc3064f54ccacc6d;hp=10090c90482ce3a5970e41a6c730971dd217e26c;hb=36920c02b847daf4fce6fec0ea5682abb1fbde27;hpb=6fa976668baffc519362f6b4e19776491c860670 diff --git a/wizbackup-driver b/wizbackup-driver index 10090c9..abda39e 100755 --- a/wizbackup-driver +++ b/wizbackup-driver @@ -1,12 +1,21 @@ #!/bin/bash # # WizBackup Driver 1.0 -# Copyleft 2011 Bernie Innocenti +# Copyright 2011 Bernie Innocenti +# +# 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 . # -# 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. if [ $# -lt 1 ] then @@ -30,7 +39,7 @@ mkdir -p $LOGDIR mkdir -p $LOCKDIR if [ "`tty`" = "not a tty" ]; then - OUTLOGFILE="$LOGDIR/$LOGGROUP-$today.log" + LOGFILE="$LOGDIR/$LOGGROUP-$today.log" else LOGFILE=/dev/stdout fi