2 # $Id: extract.sh,v 1.9 1994/11/11 23:27:05 jkh Exp $
6 if [ -f bin_tgz.aa ] ; then
7 # Temporary kludge for pathological bindist.
8 if [ -f $DDIR/etc/myname ]; then
9 cp $DDIR/etc/hosts $DDIR/etc/myname $DDIR/stand/etc
11 echo; echo "Extracting bindist, please wait. Ignore any messages from"
12 echo "cpio saying \"No such file or directory\". It doesn't know what"
13 echo "it's talking about.."; echo
14 cat bin_tgz.?? | zcat | ( cd $DDIR ; cpio -H tar -idumV )
15 if [ -f $DDIR/stand/etc/myname ]; then
16 # Add back what the bindist nuked.
17 cp $DDIR/stand/etc/myname $DDIR/etc
18 cat $DDIR/stand/etc/hosts >> $DDIR/etc/hosts
25 if [ "$b" != bin_tgz ] ; then
26 if [ "$b" = des_tgz ] ; then
27 # We cannot replace /sbin/init while it runs
28 # so move it out of the way for now
29 mv /sbin/init /sbin/nondes_init
32 cat $b.?? | zcat | ( cd $DDIR ; cpio -H tar -idumV )