X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=blobdiff_plain;f=backup%2Floaded;h=7670e0617d58c22bc7b48d9fbde5f8229c335ba1;hp=69adcb4dfa2f9c1034f1b6d6c4a792c7c7eb17f6;hb=a1b737d1580fe8ad5aea50e003c7d0334cf6b663;hpb=d906fbd72072c6953922e0627bbcf3d4c62ce7c0 diff --git a/backup/loaded b/backup/loaded index 69adcb4..7670e06 100755 --- a/backup/loaded +++ b/backup/loaded @@ -6,12 +6,13 @@ # other UN*X-compatible machines, as used on chiark.greenend.org.uk. # # chiark backup is: -# Copyright (C) 1997-1998,2000-2001 Ian Jackson +# Copyright (C) 1997-1998,2000-2001,2007 +# Ian Jackson # Copyright (C) 1999 Peter Maydell # # This 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 2, or (at your option) any later version. +# Foundation; either version 3, or (at your option) any later version. # # This is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS @@ -19,17 +20,18 @@ # details. # # You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# with this program; if not, consult the Free Software Foundation's +# website at www.fsf.org, or the GNU Project website at www.gnu.org. set -e -cd /var/local/backup +cd /var/lib/chiark-backup -if test -f "/etc/backup/tape.$1" +if test -f "/etc/chiark-backup/tape.$1" then echo "$1" >really-TAPEID echo "Will assume tape is $1 unless I discover otherwise." else + if [ "x$1" != x ]; then echo "Tape $1 not found."; fi echo "Will only use tape if it has a TAPEID." rm -f really-TAPEID fi