Removed LOCATIME and TZDIR stuff since it is now handled correctly by
[unix-history] / etc / etc.i386 / inst2.install
CommitLineData
fbb818e5
RG
1#!/bin/sh
2# install2.fs disk 'install'
8a37e140 3# Simplified, interactive FreeBSD installation script.
fbb818e5
RG
4# D.E. Silvia (dsilvia@net.com)
5#
8a37e140
RG
6# Heavily hacked on for support of FreeBSD
7# by Rodney W. Grimes (rgrimes@cdrom.com) 1993/08/11
8#
9# Installs balance of basic FreeBSD system.
fbb818e5
RG
10#
11
fbb818e5
RG
12echo -n "Verbose installation? [n] "
13read resp
fbb818e5
RG
14case $resp in
15 y*)
8749d9d0 16 cpioverbose=v
fbb818e5
RG
17 ;;
18 *)
8749d9d0 19 cpioverbose=
fbb818e5
RG
20 ;;
21esac
22
d4208c3e 23echo "Copying to disk..."
8a37e140 24cd /
d4208c3e 25cat mnt/inst2.cpio.gz | mnt/usr/bin/gunzip | cpio -idmu${cpioverbose}
8a37e140 26cd /mnt
d4208c3e 27ls .profile install usr/bin/* | cpio -pdmu${cpioverbose} /
8a37e140 28cd /dev
d4208c3e
RG
29echo " done."
30echo "Building /dev files..."
8a37e140
RG
31sh MAKEDEV all
32cd /
d4208c3e 33echo " done."
fbb818e5
RG
34
35sync
36
37echo "OK. All of the base files are installed."
38echo ""
39echo "The next step: reboot from the hard disk, and follow"
40echo "more instrutctions."
41echo ""
42echo "To do this, enter 'halt' at the prompt to halt the machine."
43echo "Once the machine has halted, remove the floppy from the disk"
44echo "drive, and hit any key to reboot from the hard disk."