chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7a8335f46620cd83993e1af406e6fc130363de18
[chiark-utils.git]
/
backup
/
loaded
1
#!/bin/sh
2
#
3
# State that we have loaded a tape
4
5
set -e
6
cd /var/local/backup
7
8
if test -f "/etc/backup/tape.$1"
9
then
10
echo "$1" >really-TAPEID
11
echo "Will assume tape is $1 unless I discover otherwise."
12
else
13
echo "Will only use tape if it has a TAPEID."
14
rm -f really-TAPEID
15
fi