d92c47dabf
any way I can. Converted all echo "" to be just echo Removed sync call that seems to hang due to fd/wd driver interaction.. Now rm /.profile before the cpio floppy is copied in, this should fix a bugger I was having with an open shell script that gets over written.
41 lines
762 B
Bash
Executable File
41 lines
762 B
Bash
Executable File
#!/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
|