diff --git a/release/scripts/base-install.sh b/release/scripts/base-install.sh new file mode 100755 index 000000000000..9ac20cbd51fb --- /dev/null +++ b/release/scripts/base-install.sh @@ -0,0 +1,10 @@ +#!/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 base distribution into / - are you SURE" +echo "you want to do this over your installed system? If not, hit ^C now!" +read junk +cat bin.?? | tar --unlink -xpzf - -C / diff --git a/release/scripts/bin-install.sh b/release/scripts/bin-install.sh new file mode 100755 index 000000000000..9ac20cbd51fb --- /dev/null +++ b/release/scripts/bin-install.sh @@ -0,0 +1,10 @@ +#!/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 base distribution into / - are you SURE" +echo "you want to do this over your installed system? If not, hit ^C now!" +read junk +cat bin.?? | tar --unlink -xpzf - -C / diff --git a/release/scripts/commerce-install.sh b/release/scripts/commerce-install.sh new file mode 100755 index 000000000000..e8a8ca71a8a5 --- /dev/null +++ b/release/scripts/commerce-install.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +if [ "`id -u`" != "0" ]; then + echo "Sorry, this must be done as root." + exit 1 +fi +tar --unlink -xpzf commerce.tgz -C /usr/local +exit 0 diff --git a/release/scripts/compat1x-install.sh b/release/scripts/compat1x-install.sh new file mode 100755 index 000000000000..036115732329 --- /dev/null +++ b/release/scripts/compat1x-install.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +if [ "`id -u`" != "0" ]; then + echo "Sorry, this must be done as root." + exit 1 +fi +tar --unlink -xpzf compat1x.tgz -C / +exit 0 diff --git a/release/scripts/compat20-install.sh b/release/scripts/compat20-install.sh new file mode 100755 index 000000000000..9c84c14dc989 --- /dev/null +++ b/release/scripts/compat20-install.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +if [ "`id -u`" != "0" ]; then + echo "Sorry, this must be done as root." + exit 1 +fi +tar --unlink -xpzf compat20.tgz -C / +exit 0 diff --git a/release/scripts/des-install.sh b/release/scripts/des-install.sh new file mode 100755 index 000000000000..548f83a49ffd --- /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 diff --git a/release/scripts/dict-install.sh b/release/scripts/dict-install.sh new file mode 100755 index 000000000000..e86c744cc264 --- /dev/null +++ b/release/scripts/dict-install.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +if [ "`id -u`" != "0" ]; then + echo "Sorry, this must be done as root." + exit 1 +fi +cat dict.?? | tar --unlink -xpzf - -C / +exit 0 diff --git a/release/scripts/games-install.sh b/release/scripts/games-install.sh new file mode 100755 index 000000000000..1b907b2af2f0 --- /dev/null +++ b/release/scripts/games-install.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +if [ "`id -u`" != "0" ]; then + echo "Sorry, this must be done as root." + exit 1 +fi +cat games.?? | tar --unlink -xpzf - -C / +exit 0 diff --git a/release/scripts/info-install.sh b/release/scripts/info-install.sh new file mode 100755 index 000000000000..7248df6a01e2 --- /dev/null +++ b/release/scripts/info-install.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +if [ "`id -u`" != "0" ]; then + echo "Sorry, this must be done as root." + exit 1 +fi +cat info.?? | tar --unlink -xpzf - -C / +exit 0 diff --git a/release/scripts/manpages-install.sh b/release/scripts/manpages-install.sh new file mode 100755 index 000000000000..6ba009240784 --- /dev/null +++ b/release/scripts/manpages-install.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +if [ "`id -u`" != "0" ]; then + echo "Sorry, this must be done as root." + exit 1 +fi +cat manpages.?? | tar --unlink -xpzf - -C / +exit 0 diff --git a/release/scripts/proflibs-install.sh b/release/scripts/proflibs-install.sh new file mode 100755 index 000000000000..afcd5c506824 --- /dev/null +++ b/release/scripts/proflibs-install.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +if [ "`id -u`" != "0" ]; then + echo "Sorry, this must be done as root." + exit 1 +fi +cat proflibs.?? | tar --unlink -xpzf - -C / +exit 0 diff --git a/release/scripts/src-install.sh b/release/scripts/src-install.sh new file mode 100755 index 000000000000..eccfd66b4bf1 --- /dev/null +++ b/release/scripts/src-install.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# +if [ "`id -u`" != "0" ]; then + echo "Sorry, this must be done as root." + exit 1 +fi +if [ $# -lt 1 ]; then + echo "You must specify which components of src to extract" + echo "possible subcomponents are:" + echo + echo "base bin etc games gnu include lib libexec lkm release" + echo "sbin share smailcf sys subin susbin" + echo + exit 1 +fi + +for i in $*; do + echo "Extracting source component: $i" + cat s${i}.?? | tar --unlink -xpzf - -C /usr/src +done +exit 0 diff --git a/release/scripts/xperimnt-install.sh b/release/scripts/xperimnt-install.sh new file mode 100755 index 000000000000..e998c0f5ce60 --- /dev/null +++ b/release/scripts/xperimnt-install.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +if [ "`id -u`" != "0" ]; then + echo "Sorry, this must be done as root." + exit 1 +fi +tar --unlink -xpzf xperimnt.tgz -C /usr/local +exit 0