freebsd-dev/release/scripts/des-install.sh
Jordan K. Hubbard 2838466c09 Check in the shell scripts I used for the 2.1-RELEASE CDROM. These
are provided simply as easy short-cuts for users who are prowling through
the dists structure and decide to install something directly from there.

There still needs to be some glue stuck into release/Makefile to copy
these into the appropriate homes following a full `make release', but I'll
wait until phk is done in there.
1996-01-08 06:19:45 +00:00

19 lines
538 B
Bash
Executable File

#!/bin/sh
#
if [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
exit 1
fi
echo "You are about to extract the DES distribution into / - are you SURE"
echo "you want to do this over your installed system? If not, hit ^C now!"
read junk
cat des.?? | tar --unlink -xpzf - -C /
cat krb.?? | tar --unlink -xpzf - -C /
echo -n "Do you want to install the DES sources (y/n)? "
read ans
if [ "$ans" = "y" ]; then
cat sebones.?? | tar --unlink -xpzf - -C /usr/src
cat ssecure.?? | tar --unlink -xpzf - -C /usr/src
fi
exit 0