diff options
Diffstat (limited to 'release/extract.sh')
-rw-r--r-- | release/extract.sh | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/release/extract.sh b/release/extract.sh deleted file mode 100644 index 97bc4a7..0000000 --- a/release/extract.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh -# $Id: extract.sh,v 1.16 1994/11/29 00:56:30 jkh Exp $ -PATH=/stand:$PATH -DDIR=/ - -if [ -f bindist.aa ] ; then - # Temporary kludge for pathological bindist. - if [ -f $DDIR/etc/myname ]; then - cp $DDIR/etc/hosts $DDIR/etc/myname $DDIR/stand/etc - fi - if [ -f $DDIR/etc/defaultrouter ]; then - cp $DDIR/etc/defaultrouter $DDIR/stand/etc - fi - echo; echo "Extracting bindist, please wait." - cat bindist.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu ) - if [ -f $DDIR/stand/etc/myname ]; then - # Add back what the bindist nuked. - cp $DDIR/stand/etc/myname $DDIR/etc - cat $DDIR/stand/etc/hosts >> $DDIR/etc/hosts - fi - if [ -f $DDIR/stand/etc/defaultrouter ]; then - cp $DDIR/stand/etc/defaultrouter $DDIR/etc - fi - chmod 1777 /tmp - rm -f /sys - ln -s /usr/src/sys /sys -fi - -for i in *.aa -do - b=`basename $i .aa` - if [ "$b" != bindist ] ; then - if [ "$b" = des ] ; then - # We cannot replace /sbin/init while it runs - # so move it out of the way for now - mv /sbin/init /sbin/non_des_init - fi - echo "Extracting $b" - cat $b.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu ) - fi -done |