diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-01-08 06:19:45 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-01-08 06:19:45 +0000 |
| commit | 2838466c0995cd445ed47f8988826faa317c0d1f (patch) | |
| tree | 74d1bc1985305b5a90bb4217a820c0adf5fa004d /release/scripts | |
| parent | e5255f3193867eac5a79e83742ba442a81a9edb2 (diff) | |
Notes
Diffstat (limited to 'release/scripts')
| -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 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 |
