HardenedBSD/etc/etc.i386/EXTRACT_secr.sh

15 lines
374 B
Bash
Raw Normal View History

#!/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 -