diff options
author | phk <phk@FreeBSD.org> | 1994-11-10 03:22:27 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1994-11-10 03:22:27 +0000 |
commit | f87ecc21f0cd9547ad949bdaf3d2d5e6ad2d09ba (patch) | |
tree | 49da647cfdb8013010e88bd75798b467141ec49f /release | |
parent | 233b360d13cebc266d2f3a7b6fb9c0890d2fd9b9 (diff) | |
download | FreeBSD-src-f87ecc21f0cd9547ad949bdaf3d2d5e6ad2d09ba.zip FreeBSD-src-f87ecc21f0cd9547ad949bdaf3d2d5e6ad2d09ba.tar.gz |
Added des to the food for this.
Diffstat (limited to 'release')
-rw-r--r-- | release/extract.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/release/extract.sh b/release/extract.sh index 16ff43b..fafb6ee 100644 --- a/release/extract.sh +++ b/release/extract.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: extract.sh,v 1.6 1994/11/10 02:47:06 jkh Exp $ +# $Id: extract.sh,v 1.7 1994/11/10 02:50:42 jkh Exp $ DDIR=/ @@ -19,7 +19,12 @@ for i in *.aa do b=`basename $i .aa` if [ "$b" != bin_tgz ] ; then + if [ "$b" = des_tgz ] ; then + # We cannot replace /sbin/init while it runs + # so move it out of the way for now + mv /sbin/init /sbin/nondes_init + fi echo "Extracting $b" - cat $b.?? | zcat | tar xf - -C $DDIR + cat $b.?? | zcat | ( cd $DDIR ; tar --unlink -xf - ) fi done |