1995-01-14 07:41:52 +00:00
|
|
|
#!/bin/sh
|
1995-01-28 09:11:39 +00:00
|
|
|
# $Id: extract_secure.sh,v 1.3 1995/01/27 07:49:45 jkh Exp $
|
1995-01-14 07:41:52 +00:00
|
|
|
PATH=/stand:$PATH
|
|
|
|
DDIR=/
|
|
|
|
|
|
|
|
DIST=secure
|
1995-01-14 07:44:23 +00:00
|
|
|
# You can't write over the running init
|
|
|
|
if [ -f /sbin/init ]; then mv /sbin/init /sbin/init.insecure; fi
|
|
|
|
|
1995-01-14 07:41:52 +00:00
|
|
|
cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
|
1995-01-27 07:49:46 +00:00
|
|
|
|
|
|
|
for DIST in ebones secrsrc; do
|
|
|
|
if [ -f ${DIST}.aa ]; then
|
|
|
|
echo "Extracting ${DIST} sources"
|
|
|
|
cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
|
|
|
|
fi
|
|
|
|
done
|