diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-11 05:23:40 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-11 05:23:40 +0000 |
commit | 909cd75949f3aa25629d602ca21bbd711b94bb6c (patch) | |
tree | dbf82959ad049f2b114e51252e317fcef56930cf /release/scripts | |
parent | 2e780cd86fd6e41356091d32a0e60b54d737f8d3 (diff) | |
download | FreeBSD-src-909cd75949f3aa25629d602ca21bbd711b94bb6c.zip FreeBSD-src-909cd75949f3aa25629d602ca21bbd711b94bb6c.tar.gz |
DES -> des. Sigh!
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/extract_des.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/release/scripts/extract_des.sh b/release/scripts/extract_des.sh new file mode 100644 index 0000000..3eed9d7 --- /dev/null +++ b/release/scripts/extract_des.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# $Id: extract_des.sh,v 1.1 1995/05/09 22:58:42 jkh Exp $ +set -e +PATH=/stand:$PATH +DDIR=/ + +DIST=des +# You can't write over the running init +if [ -f /sbin/init ]; then mv /sbin/init /sbin/init.insecure; fi + +cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu ) + +DDIR=/usr/src +for DIST in sebones sdes ; do + if [ -f ${DIST}.aa ]; then + echo "Extracting ${DIST} sources" + cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu ) + fi +done |