summaryrefslogtreecommitdiffstats
path: root/etc/etc.i386/inst2.install
blob: 0ef2d46f6b1fd87518a2f2bcb84084d2669bf18c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/sh
# install2.fs disk 'install'
# Simplified, interactive FreeBSD installation script.
# D.E. Silvia (dsilvia@net.com)
#
# Heavily hacked on for support of FreeBSD
# by Rodney W. Grimes (rgrimes@cdrom.com) 1993/08/11
#
# Installs balance of basic FreeBSD system.
#

echo -n "Verbose installation? [n] "
read resp
case $resp in
	y*)
		cpioverbose=v
		;;
	*)
		cpioverbose=
		;;
esac

echo
echo "Please wait.  Copying to disk..."
# remove /.profile so that the right things happen when it gets
# over written
rm /.profile
cd /
mnt/usr/bin/gunzip < mnt/inst2.cpio.gz | cpio -idmu${cpioverbose}
cd /mnt
ls .profile install usr/bin/* | cpio -pdmu${cpioverbose} /
cd /dev
echo " done."
echo
echo "Building /dev files..."
sh MAKEDEV all
cd /
echo " done."

sync
OpenPOWER on IntegriCloud