BSD 4_3_Tahoe development
[unix-history] / usr / src / sys / tahoedist / tape3
CommitLineData
b2ad5966
C
1#!/bin/sh
2#
3# Copyright (c) 1980 Regents of the University of California.
4# All rights reserved. The Berkeley software License Agreement
5# specifies the terms and conditions for redistribution.
6#
7# %W% (Berkeley) %G%
8#
9# %M% [ 6250 | 1600 [ tapename [ remotetapemachine ] ] ]
10miniroot=hp0d
11tape=/dev/rmt12
12type=6250
13if [ $# -gt 0 ]; then type=$1; fi
14if [ $# -gt 1 ]; then tape=$2; fi
15tartape=$tape
16if [ $# -gt 2 ]; then remote=$3; tartape='-'; fi
17#
18trap "rm -f /tmp/tape.$$; exit" 0 1 2 3 13 15
19$remote mt -t ${tape} rew
20date
21echo "Add user contributed software"
22if [ ${type} != '6250' ]
23then
24 cd /nbsd/usr/src/new; eval tar cf ${tartape} \
25 B X ansi apl bib courier cpm dipress dsh emacs enet help \
26 hyper icon jove kermit mh mkmf mmdf.tar.Z news notes \
27 np100 patch pathalias rcs rn spms sumacc.tar.Z sunrpc \
28 tac tools umodem xns \
29 ${remote+'| $remote /usr/local/20b ">" $tape'}
30else
31 cd /nbsd/usr/src/new; eval tar cf ${tartape} \
32 B X ansi apl bib courier cpm dipress dsh emacs enet help \
33 hyper icon jove kermit mh mkmf mmdf news notes \
34 np100 patch pathalias rcs rn spms sumacc sunrpc \
35 tac tools umodem xns \
36 ${remote+'| $remote /usr/local/20b ">" $tape'}
37fi
38echo "Add ingres source"
39cd /nbsd/usr/ingres; eval tar cf ${tartape} . \
40 ${remote+'| $remote /usr/local/20b ">" $tape'}
41echo "Done, rewinding tape"
42$remote mt -t ${tape} rew &