summaryrefslogtreecommitdiffstats
path: root/etc/etc.i386/EXTRACT_secr.sh
blob: 718966c2d144edda67ccf56c4a46987d3c87f903 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# This file will extract all of the FreeBSD secure distribution into
# ${EXTRACT_TARGET} if it is set, or / otherwise.
#
SOURCEDIR=.
if [ X"${EXTRACT_TARGET}" = X"" ]; then
	EXTRACT_TARGET=/
fi

cd $SOURCEDIR

cat des_tgz.*	| gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
cat libcrypt.aa	| gunzip | tar --unlink --directory ${EXTRACT_TARGET} -xpf -
OpenPOWER on IntegriCloud