summaryrefslogtreecommitdiffstats
path: root/release/scripts/des-install.sh
blob: c1fdedc09f78f58f1d639ab0b76dd7c6996c8544 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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 scrypto.?? | tar --unlink -xpzf - -C /usr/src
	cat skerbero.?? | tar --unlink -xpzf - -C /usr/src
	cat ssecure.?? | tar --unlink -xpzf - -C /usr/src
fi
exit 0
OpenPOWER on IntegriCloud