NetBSD/distrib/sparc/install.sh

22 lines
498 B
Bash
Raw Normal View History

1994-10-25 09:48:14 +03:00
#!/bin/sh
1994-11-14 09:25:42 +03:00
# $Id: install.sh,v 1.2 1994/11/14 06:25:42 deraadt Exp $
1994-10-25 09:48:14 +03:00
umask 0
TAR="base.tar.gz comp.tar.gz etc.tar.gz games.tar.gz man.tar.gz
misc.tar.gz secr.tar.gz text.tar.gz"
for i in $TAR
do
1994-11-14 09:25:42 +03:00
if [ -f $i ]; then
1994-10-25 09:48:14 +03:00
echo -n $i...
cat $i | gzip -d | (cd /mnt; gtar xvpf -)
else
echo skipping $i because you do not want it
fi
done
echo
cp netbsd.id3_scsi /mnt/netbsd
chmod 640 /mnt/netbsd; chown root.kmem /mnt/netbsd
cd /mnt/dev; ./MAKEDEV all
mv /mnt/etc/fstab.sd /mnt/etc/fstab