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