Oh GACK! src-clean doesn't quite work that easily since cleandist rebuilds the
[unix-history] / etc / etc.i386 / inst2.install
index 197b930..0ef2d46 100644 (file)
@@ -1,35 +1,40 @@
 #!/bin/sh
 # install2.fs disk 'install'
 #!/bin/sh
 # install2.fs disk 'install'
-# Simplified, interactive 386bsd installation script.
+# Simplified, interactive FreeBSD installation script.
 # D.E. Silvia (dsilvia@net.com)
 #
 # D.E. Silvia (dsilvia@net.com)
 #
-# Installs balance of basic 386bsd system.
+# Heavily hacked on for support of FreeBSD
+# by Rodney W. Grimes (rgrimes@cdrom.com) 1993/08/11
+#
+# Installs balance of basic FreeBSD system.
 #
 
 #
 
-mount -at ufs
-bin/rm /.profile
 echo -n "Verbose installation? [n] "
 read resp
 echo -n "Verbose installation? [n] "
 read resp
-
-echo Copying to disk.
 case $resp in
        y*)
 case $resp in
        y*)
-               tarverbose=v
+               cpioverbose=v
                ;;
        *)
                ;;
        *)
-               tarverbose=
+               cpioverbose=
                ;;
 esac
 
                ;;
 esac
 
-tar cfp - . | (cd / ; tar xfp${tarverbose} -)
+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
 
 sync
-
-echo    "OK.  All of the base files are installed."
-echo    ""
-echo    "The next step: reboot from the hard disk, and follow"
-echo    "more instrutctions."
-echo    ""
-echo    "To do this, enter 'halt' at the prompt to halt the machine."
-echo   "Once the machine has halted, remove the floppy from the disk"
-echo   "drive, and hit any key to reboot from the hard disk."