diff options
Diffstat (limited to 'release/scripts/des-install.sh')
-rwxr-xr-x | release/scripts/des-install.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/release/scripts/des-install.sh b/release/scripts/des-install.sh new file mode 100755 index 0000000..548f83a --- /dev/null +++ b/release/scripts/des-install.sh @@ -0,0 +1,18 @@ +#!/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 |