d2b9896124
tip removed from cpio.flp (!) crunch chokes on it after the latest changes. source for secure & eBones moved into securedist.
19 lines
462 B
Bash
19 lines
462 B
Bash
#!/bin/sh
|
|
# $Id: extract_secure.sh,v 1.5 1995/02/07 01:01:21 jkh Exp $
|
|
PATH=/stand:$PATH
|
|
DDIR=/
|
|
|
|
DIST=secure
|
|
# 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 ssecure ; do
|
|
if [ -f ${DIST}.aa ]; then
|
|
echo "Extracting ${DIST} sources"
|
|
cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
|
|
fi
|
|
done
|