1995-01-14 08:41:52 +01:00
|
|
|
#!/bin/sh
|
1995-04-20 08:49:09 +02:00
|
|
|
# $Id: extract_secure.sh,v 1.6 1995/04/07 01:20:26 phk Exp $
|
|
|
|
set -e
|
1995-01-14 08:41:52 +01:00
|
|
|
PATH=/stand:$PATH
|
|
|
|
DDIR=/
|
|
|
|
|
|
|
|
DIST=secure
|
1995-01-14 08:44:23 +01:00
|
|
|
# You can't write over the running init
|
|
|
|
if [ -f /sbin/init ]; then mv /sbin/init /sbin/init.insecure; fi
|
|
|
|
|
1995-01-14 08:41:52 +01:00
|
|
|
cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
|
1995-01-27 08:49:46 +01:00
|
|
|
|
1995-02-07 02:01:21 +01:00
|
|
|
DDIR=/usr/src
|
1995-04-07 03:20:26 +02:00
|
|
|
for DIST in sebones ssecure ; do
|
1995-01-27 08:49:46 +01:00
|
|
|
if [ -f ${DIST}.aa ]; then
|
|
|
|
echo "Extracting ${DIST} sources"
|
|
|
|
cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
|
|
|
|
fi
|
|
|
|
done
|