diff options
-rwxr-xr-x | release/scripts/base-install.sh | 10 | ||||
-rwxr-xr-x | release/scripts/bin-install.sh | 10 | ||||
-rwxr-xr-x | release/scripts/commerce-install.sh | 8 | ||||
-rwxr-xr-x | release/scripts/compat1x-install.sh | 8 | ||||
-rwxr-xr-x | release/scripts/compat20-install.sh | 8 | ||||
-rwxr-xr-x | release/scripts/des-install.sh | 18 | ||||
-rwxr-xr-x | release/scripts/dict-install.sh | 8 | ||||
-rwxr-xr-x | release/scripts/games-install.sh | 8 | ||||
-rwxr-xr-x | release/scripts/info-install.sh | 8 | ||||
-rwxr-xr-x | release/scripts/manpages-install.sh | 8 | ||||
-rwxr-xr-x | release/scripts/proflibs-install.sh | 8 | ||||
-rwxr-xr-x | release/scripts/src-install.sh | 21 | ||||
-rwxr-xr-x | release/scripts/xperimnt-install.sh | 8 |
13 files changed, 131 insertions, 0 deletions
diff --git a/release/scripts/base-install.sh b/release/scripts/base-install.sh new file mode 100755 index 0000000..9ac20cb --- /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 0000000..9ac20cb --- /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 0000000..e8a8ca7 --- /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 0000000..0361157 --- /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 0000000..9c84c14 --- /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 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 diff --git a/release/scripts/dict-install.sh b/release/scripts/dict-install.sh new file mode 100755 index 0000000..e86c744 --- /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 0000000..1b907b2 --- /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 0000000..7248df6 --- /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 0000000..6ba0092 --- /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 0000000..afcd5c5 --- /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 0000000..eccfd66 --- /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 0000000..e998c0f --- /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 |