summaryrefslogtreecommitdiffstats
path: root/release/scripts
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-01-08 06:19:45 +0000
committerjkh <jkh@FreeBSD.org>1996-01-08 06:19:45 +0000
commit709700e64dcc7979a5c56562f62229e28b5e5f17 (patch)
tree74d1bc1985305b5a90bb4217a820c0adf5fa004d /release/scripts
parent7d1993a61c047eab134ecbe2345fe54558bce1bd (diff)
downloadFreeBSD-src-709700e64dcc7979a5c56562f62229e28b5e5f17.zip
FreeBSD-src-709700e64dcc7979a5c56562f62229e28b5e5f17.tar.gz
Check in the shell scripts I used for the 2.1-RELEASE CDROM. These
are provided simply as easy short-cuts for users who are prowling through the dists structure and decide to install something directly from there. There still needs to be some glue stuck into release/Makefile to copy these into the appropriate homes following a full `make release', but I'll wait until phk is done in there.
Diffstat (limited to 'release/scripts')
-rwxr-xr-xrelease/scripts/base-install.sh10
-rwxr-xr-xrelease/scripts/bin-install.sh10
-rwxr-xr-xrelease/scripts/commerce-install.sh8
-rwxr-xr-xrelease/scripts/compat1x-install.sh8
-rwxr-xr-xrelease/scripts/compat20-install.sh8
-rwxr-xr-xrelease/scripts/des-install.sh18
-rwxr-xr-xrelease/scripts/dict-install.sh8
-rwxr-xr-xrelease/scripts/games-install.sh8
-rwxr-xr-xrelease/scripts/info-install.sh8
-rwxr-xr-xrelease/scripts/manpages-install.sh8
-rwxr-xr-xrelease/scripts/proflibs-install.sh8
-rwxr-xr-xrelease/scripts/src-install.sh21
-rwxr-xr-xrelease/scripts/xperimnt-install.sh8
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
OpenPOWER on IntegriCloud