3 # $FreeBSD: src/release/scripts/crypto-install.sh,v 1.1.2.2 2002/08/08 08:23:53 ru Exp $
6 if [ "`id -u`" != "0" ]; then
7 echo "Sorry, this must be done as root."
11 echo "You are about to extract the CRYPTO distribution into ${_DEST} - are you SURE"
12 echo "you want to do this over your installed system? If not, hit ^C now,"
13 echo -n "otherwise hit return to continue. "
15 cat crypto.?? | tar --unlink -xpzf - -C ${_DEST}
16 cat krb4.?? | tar --unlink -xpzf - -C ${_DEST}
17 cat krb5.?? | tar --unlink -xpzf - -C ${_DEST}
18 echo -n "Do you want to install the CRYPTO sources (y/n)? "
20 if [ "$ans" = "y" ]; then
21 cat scrypto.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
22 cat ssecure.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
23 cat skrb4.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src
24 cat skrb5.?? | tar --unlink -xpzf - -C ${_DEST}/usr/src