mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-13 05:41:26 +01:00
secure -> DES.
This commit is contained in:
parent
7cd23434fe
commit
3af7a5dc18
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8390
19
release/scripts/extract_DES.sh
Normal file
19
release/scripts/extract_DES.sh
Normal file
@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
# $Id: extract_secure.sh,v 1.7 1995/04/20 06:49:09 phk 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
|
Loading…
Reference in New Issue
Block a user