diff options
author | 2002-04-22 02:43:16 +0000 | |
---|---|---|
committer | 2002-04-22 02:43:16 +0000 | |
commit | a1f9bee1ebb25f350a583b9f569ea4190858aa6d (patch) | |
tree | 65538943d68fdb3ca1b1fb3318d0c3748e70252b | |
parent | remove them for real (diff) | |
download | wireguard-openbsd-a1f9bee1ebb25f350a583b9f569ea4190858aa6d.tar.xz wireguard-openbsd-a1f9bee1ebb25f350a583b9f569ea4190858aa6d.zip |
use one common dot.profile for all
37 files changed, 42 insertions, 1046 deletions
diff --git a/distrib/alpha/common/dot.profile b/distrib/alpha/common/dot.profile deleted file mode 100644 index a79194dff07..00000000000 --- a/distrib/alpha/common/dot.profile +++ /dev/null @@ -1,70 +0,0 @@ -# -# $OpenBSD: dot.profile,v 1.9 2002/04/21 07:08:41 deraadt Exp $ -# -# Copyright (c) 1994 Christopher G. Demetriou -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by Christopher G. Demetriou. -# 4. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ -umask 022 -set -o emacs # emacs-style command line editing - -rootdisk=`dmesg|sed -n -e '/OpenBSD /h' -e '//!H' -e '${ - g - p -}'|sed -n -e '/^root on \([0-9a-z]*\).*/{ - s//\/dev\/\1/ - p -}'` - -if [ "X${DONEPROFILE}" = "X" ]; then - DONEPROFILE=YES - - mount -u ${rootdisk:-/dev/rd0a} / - - # set up some sane defaults - echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T' - stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600 - echo '' - - # Installing or upgrading? - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo -n '(I)nstall, (U)pgrade, or (S)hell? ' - read _forceloop - case "$_forceloop" in - i*|I*) /install - ;; - u*|U*) /upgrade - ;; - s*|S*) ;; - *) _forceloop="" - ;; - esac - done -fi diff --git a/distrib/alpha/common/list b/distrib/alpha/common/list index 24d02a4d28f..310e6cfaca6 100644 --- a/distrib/alpha/common/list +++ b/distrib/alpha/common/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.4 2002/04/21 07:09:36 deraadt Exp $ +# $OpenBSD: list,v 1.5 2002/04/22 02:43:16 deraadt Exp $ # we strip comments from files since we need the space... @@ -6,7 +6,7 @@ #SPECIAL sed -e '/^#[ ].*$/d' < ${CURDIR}/../common/disktab.preinstall > etc/disktab.preinstall # and the installation tools -SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../common/dot.profile > .profile +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/dot.profile > .profile SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../common/disktab.shadow > etc/disktab.shadow SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/../../miniroot/install.sub > install.sub SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/install.sh > install diff --git a/distrib/amiga/miniroot/dot.profile b/distrib/amiga/miniroot/dot.profile deleted file mode 100644 index 87a3baa7d0b..00000000000 --- a/distrib/amiga/miniroot/dot.profile +++ /dev/null @@ -1,82 +0,0 @@ -# $OpenBSD: dot.profile,v 1.12 2002/04/05 03:13:18 deraadt Exp $ -# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $ -# -# Copyright (c) 1995 Jason R. Thorpe -# Copyright (c) 1994 Christopher G. Demetriou -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by Christopher G. Demetriou. -# 4. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ -umask 022 -set -o emacs # emacs-style command line editing - -# XXX -# the TERM/EDITOR stuff is really well enough parameterized to be moved -# into install.sub where it could use the routines there and be invoked -# from the various (semi) MI install and upgrade scripts - -# terminals believed to be in termcap, default TERM -TERMS="sun vt* pcvt* dumb" -TERM=vt220 - -if [ "X${DONEPROFILE}" = "X" ]; then - DONEPROFILE=YES - - mount -u /dev/rd0a / - - # set up some sane defaults - echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T' - stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600 - - # get the terminal type - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo "Supported terminals are: $TERMS" - eval `tset -s -m ":?$TERM"` - if [ "X$TERM" != X"unknown" ]; then - _forceloop="done" - fi - done - export TERM - - # Installing or upgrading? - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo -n '(I)nstall, (U)pgrade, or (S)hell? ' - read _forceloop - case "$_forceloop" in - i*|I*) /install - ;; - u*|U*) /upgrade - ;; - s*|S*) ;; - *) _forceloop="" - ;; - esac - done -fi diff --git a/distrib/amiga/miniroot/list b/distrib/amiga/miniroot/list index 917a506e439..9852a3f3db1 100644 --- a/distrib/amiga/miniroot/list +++ b/distrib/amiga/miniroot/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.10 2002/04/21 17:08:51 deraadt Exp $ +# $OpenBSD: list,v 1.11 2002/04/22 02:43:16 deraadt Exp $ # $NetBSD: list,v 1.2.4.2 1996/06/26 19:25:00 pk Exp $ # Amiga extra's @@ -32,5 +32,4 @@ SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf SYMLINK /tmp/hosts etc/hosts # and the installation tools -COPY ${ARCHDIR}/dot.profile .profile SPECIAL sed -e '/^#[ ].*$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${ARCHDIR}/../install.md > install.md diff --git a/distrib/amiga/ramdisk/dot.profile b/distrib/amiga/ramdisk/dot.profile deleted file mode 100644 index 484e9d20323..00000000000 --- a/distrib/amiga/ramdisk/dot.profile +++ /dev/null @@ -1,80 +0,0 @@ -# $OpenBSD: dot.profile,v 1.11 2002/04/05 03:13:18 deraadt Exp $ -# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $ -# -# Copyright (c) 1995 Jason R. Thorpe -# Copyright (c) 1994 Christopher G. Demetriou -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by Christopher G. Demetriou. -# 4. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ -export HISTFILE=/.sh_history - -umask 022 - -set -o emacs # emacs-style command line editing - -# terminals believed to be in termcap, default TERM -TERMS="sun vt* pcvt* dumb" -TERM=sun - -if [ "X${DONEPROFILE}" = "X" ]; then - DONEPROFILE=YES - - mount -u /dev/rd0a / - - # set up some sane defaults - echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T' - stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600 - - # get the terminal type - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo "Supported terminals are: $TERMS" - eval `tset -s -m ":?$TERM"` - if [ "X$TERM" != X"unknown" ]; then - _forceloop="done" - fi - done - export TERM - - # Installing or upgrading? - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo -n '(I)nstall, (U)pgrade, or (S)hell? ' - read _forceloop - case "$_forceloop" in - i*|I*) /install - ;; - u*|U*) /upgrade - ;; - s*|S*) ;; - *) _forceloop="" - ;; - esac - done -fi diff --git a/distrib/amiga/ramdisk/list b/distrib/amiga/ramdisk/list index 18bf223757f..d6c2ec10e5d 100644 --- a/distrib/amiga/ramdisk/list +++ b/distrib/amiga/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.10 2002/04/21 17:08:51 deraadt Exp $ +# $OpenBSD: list,v 1.11 2002/04/22 02:43:16 deraadt Exp $ # $NetBSD: list,v 1.2.4.2 1996/06/26 19:25:00 pk Exp $ # Amiga extra's @@ -28,6 +28,4 @@ SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf SYMLINK /tmp/hosts etc/hosts # and the installation tools -COPY ${ARCHDIR}/../miniroot/dot.profile .profile SPECIAL sed -e '/^#[ ].*$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${ARCHDIR}/../install.md > install.md -COPY ${ARCHDIR}/../install.md install.md diff --git a/distrib/mac68k/ramdisk/dot.profile b/distrib/mac68k/ramdisk/dot.profile deleted file mode 100644 index 65706c05759..00000000000 --- a/distrib/mac68k/ramdisk/dot.profile +++ /dev/null @@ -1,70 +0,0 @@ -# -# $OpenBSD: dot.profile,v 1.7 2002/04/05 03:13:18 deraadt Exp $ -# $NetBSD: dot.profile,v 1.1 1995/07/18 04:13:09 briggs Exp $ -# -# Copyright (c) 1994 Christopher G. Demetriou -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by Christopher G. Demetriou. -# 4. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ -export TERM=vt220 -umask 022 -set -o emacs # emacs-style command line editing - -if [ "X${DONEPROFILE}" = "X" ]; then - DONEPROFILE=YES - export DONEPROFILE - - # set up some sane defaults - echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T' - stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600 - echo '' - - echo 'Remounting /dev/rd0a as root...' - mount -u /dev/rd0a / - - # pull in the functions that people will use from the shell prompt. - . /.commonutils - . /.instutils - - # Installing or upgrading? - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo -n '(I)nstall, (U)pgrade, or (S)hell? ' - read _forceloop - case "$_forceloop" in - i*|I*) /install - ;; - u*|U*) /upgrade - ;; - s*|S*) ;; - *) _forceloop="" - ;; - esac - done -fi diff --git a/distrib/mac68k/ramdisk/list b/distrib/mac68k/ramdisk/list index 36e85ac4848..b5880220d81 100644 --- a/distrib/mac68k/ramdisk/list +++ b/distrib/mac68k/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.9 2002/04/21 17:10:10 deraadt Exp $ +# $OpenBSD: list,v 1.10 2002/04/22 02:43:16 deraadt Exp $ COPY ${OBJDIR}/raminst raminst LINK raminst bin/cat @@ -60,15 +60,11 @@ COPY rd.master.passwd etc/master.passwd COPY rd.disktab etc/disktab SPECIAL cd etc; pwd_mkdb -p -d . ./master.passwd -# we strip comments from files since we need the space... - # and the common installation tools -SPECIAL sed -e '/^#[ ].*$/d' < ${TOPDIR}/common/dot.commonutils > .commonutils SPECIAL sed -e '/^#[ ].*$/d' < ${TOPDIR}/common/termcap.vt > usr/share/misc/termcap # and the installation tools -SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/dot.profile > .profile -SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/dot.instutils > .instutils +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/dot.profile > .profile SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${CURDIR}/../install.md > install.md SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/install.sh > install SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/upgrade.sh > upgrade diff --git a/distrib/macppc/ramdisk/dot.profile b/distrib/macppc/ramdisk/dot.profile deleted file mode 100644 index ca632ed2102..00000000000 --- a/distrib/macppc/ramdisk/dot.profile +++ /dev/null @@ -1,60 +0,0 @@ -# $OpenBSD: dot.profile,v 1.5 2002/04/01 01:31:39 deraadt Exp $ -# -# Copyright (c) 1994 Christopher G. Demetriou -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by Christopher G. Demetriou. -# 4. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ -umask 022 -set -o emacs # emacs-style command line editing - -if [ "X${DONEPROFILE}" = "X" ]; then - DONEPROFILE=YES - - mount -u /dev/rd0a / - - # set up some sane defaults - echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T' - stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600 - - # Installing or upgrading? - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo -n '(I)nstall, (U)pgrade or (S)hell? ' - read _forceloop - case "$_forceloop" in - i*|I*) /install - ;; - u*|U*) /upgrade - ;; - s*|S*) ;; - *) _forceloop="" - ;; - esac - done -fi diff --git a/distrib/macppc/ramdisk/list b/distrib/macppc/ramdisk/list index ba2dd7d8500..bf2f1ff056d 100644 --- a/distrib/macppc/ramdisk/list +++ b/distrib/macppc/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.10 2002/04/21 07:05:30 deraadt Exp $ +# $OpenBSD: list,v 1.11 2002/04/22 02:43:16 deraadt Exp $ SRCDIRS distrib/special SRCDIRS gnu/usr.bin usr.bin bin sbin usr.sbin @@ -83,7 +83,7 @@ COPY ${DESTDIR}/sbin/dhclient-script sbin/dhclient-script COPY ${TOPDIR}/common/termcap.vt usr/share/misc/termcap # and the installation tools -SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/dot.profile > .profile +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/dot.profile > .profile SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${CURDIR}/install.md > install.md SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/upgrade.sh > upgrade SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/install.sh > install diff --git a/distrib/sparc/dot.profile b/distrib/miniroot/dot.profile index d2dcd95b1e5..e31858932eb 100644 --- a/distrib/sparc/dot.profile +++ b/distrib/miniroot/dot.profile @@ -1,4 +1,4 @@ -# $OpenBSD: dot.profile,v 1.1 2002/04/21 17:11:27 deraadt Exp $ +# $OpenBSD: dot.profile,v 1.1 2002/04/22 02:43:16 deraadt Exp $ # $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $ # # Copyright (c) 1995 Jason R. Thorpe @@ -55,7 +55,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then # Installing or upgrading? _forceloop="" while [ "X$_forceloop" = X"" ]; do - echo -n '(I)nstall, (U)pgrade, or (S)hell? ' + echo -n '(I)nstall, (U)pgrade or (S)hell? ' read _forceloop case "$_forceloop" in i*|I*) /install diff --git a/distrib/miniroot/list b/distrib/miniroot/list index 304e254ac51..879ab01da17 100644 --- a/distrib/miniroot/list +++ b/distrib/miniroot/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.26 2002/04/21 07:47:20 deraadt Exp $ +# $OpenBSD: list,v 1.27 2002/04/22 02:43:16 deraadt Exp $ # $NetBSD: list,v 1.4.4.1 1996/06/20 20:30:26 pk Exp $ SRCDIRS distrib/special @@ -59,6 +59,7 @@ COPY ${CURDIR}/protocols etc/protocols COPY ${CURDIR}/services etc/services # and the installation scripts +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/dot.profile > .profile SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/upgrade.sh > upgrade SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/install.sh > install SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/install.sub > install.sub diff --git a/distrib/mvme68k/ramdisk/dot.profile b/distrib/mvme68k/ramdisk/dot.profile deleted file mode 100644 index e96e587ff33..00000000000 --- a/distrib/mvme68k/ramdisk/dot.profile +++ /dev/null @@ -1,62 +0,0 @@ -# $OpenBSD: dot.profile,v 1.11 2002/04/01 01:31:39 deraadt Exp $ -# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $ -# -# Copyright (c) 1995 Jason R. Thorpe -# Copyright (c) 1994 Christopher G. Demetriou -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by Christopher G. Demetriou. -# 4. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ -umask 022 -set -o emacs # emacs-style command line editing - -if [ "X${DONEPROFILE}" = "X" ]; then - DONEPROFILE=YES - - mount -u /dev/rd0a / - - # set up some sane defaults - echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T' - stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600 - - # Installing or upgrading? - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo -n '(I)nstall, (U)pgrade or (S)hell? ' - read _forceloop - case "$_forceloop" in - i*|I*) /install - ;; - u*|U*) /upgrade - ;; - s*|S*) ;; - *) _forceloop="" - ;; - esac - done -fi diff --git a/distrib/mvme68k/ramdisk/list b/distrib/mvme68k/ramdisk/list index 584824052a5..48885c93e7e 100644 --- a/distrib/mvme68k/ramdisk/list +++ b/distrib/mvme68k/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.16 2002/04/17 01:59:57 deraadt Exp $ +# $OpenBSD: list,v 1.17 2002/04/22 02:43:16 deraadt Exp $ SRCDIRS distrib/special SRCDIRS gnu/usr.bin usr.bin bin sbin usr.sbin @@ -75,7 +75,7 @@ SYMLINK /tmp/hosts etc/hosts SPECIAL sed -e '/^#[ ].*$/d' < ${TOPDIR}/common/termcap.vt > usr/share/misc/termcap # and the installation tools -SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/dot.profile > .profile +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/dot.profile > .profile SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${CURDIR}/install.md > install.md SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/install.sh > install SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/upgrade.sh > upgrade diff --git a/distrib/mvme88k/miniroot/dot.profile b/distrib/mvme88k/miniroot/dot.profile deleted file mode 100644 index d9edf752790..00000000000 --- a/distrib/mvme88k/miniroot/dot.profile +++ /dev/null @@ -1,89 +0,0 @@ -# $OpenBSD: dot.profile,v 1.12 2002/04/13 17:36:56 deraadt Exp $ -# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $ -# -# Copyright (c) 1995 Jason R. Thorpe -# Copyright (c) 1994 Christopher G. Demetriou -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by Christopher G. Demetriou. -# 4. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ -umask 022 -set -o emacs # emacs-style command line editing - -# XXX -# the TERM/EDITOR stuff is really well enough parameterized to be moved -# into install.sub where it could use the routines there and be invoked -# from the various (semi) MI install and upgrade scripts -# terminals believed to be in termcap, default TERM -TERMS="sun vt* pcvt* dumb" -TERM=vt220 - -rootdisk=`dmesg|sed -n -e '/OpenBSD /h' -e '//!H' -e '${ - g - p -}'|sed -n -e '/^root on \([0-9a-z]*\).*/{ - s//\/dev\/\1/ - p -}'` - -if [ "X${DONEPROFILE}" = "X" ]; then - DONEPROFILE=YES - - mount -u ${rootdisk:-/dev/rd0a} / - - # set up some sane defaults - echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T' - stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T - - # get the terminal type - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo "Supported terminals are: $TERMS" - eval `tset -s -m ":?$TERM"` - if [ "X$TERM" != X"unknown" ]; then - _forceloop="done" - fi - done - export TERM - - # Installing or upgrading? - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo -n '(I)nstall, (U)pgrade, or (S)hell? ' - read _forceloop - case "$_forceloop" in - i*|I*) /install - ;; - u*|U*) /upgrade - ;; - s*|S*) ;; - *) _forceloop="" - ;; - esac - done -fi diff --git a/distrib/mvme88k/miniroot/list b/distrib/mvme88k/miniroot/list index 5278d7df380..3478ac1332a 100644 --- a/distrib/mvme88k/miniroot/list +++ b/distrib/mvme88k/miniroot/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.7 2002/04/21 17:14:17 deraadt Exp $ +# $OpenBSD: list,v 1.8 2002/04/22 02:43:16 deraadt Exp $ # $NetBSD: list,v 1.2.4.2 1996/06/26 19:25:00 pk Exp $ # Amiga extra's @@ -32,5 +32,4 @@ SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf SYMLINK /tmp/hosts etc/hosts # and the installation tools -COPY ${ARCHDIR}/dot.profile .profile SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`" < ${ARCHDIR}/../install.md > install.md diff --git a/distrib/mvme88k/ramdisk/dot.profile b/distrib/mvme88k/ramdisk/dot.profile deleted file mode 100644 index 7e8ebbcf4c7..00000000000 --- a/distrib/mvme88k/ramdisk/dot.profile +++ /dev/null @@ -1,53 +0,0 @@ -# -# $OpenBSD: dot.profile,v 1.5 2002/04/05 03:13:18 deraadt Exp $ -# -# Copyright (c) 1994 Christopher G. Demetriou -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by Christopher G. Demetriou. -# 4. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ -export HISTFILE=/.sh_history -export TERM=vt200 - -umask 022 - -set -o emacs # emacs-style command line editing - -# set up some sane defaults -echo 'erase ^?, werase ^?, kill ^U, intr ^C, status ^T' -stty newcrt werase ^? intr ^C kill ^U erase ^? status ^T 9600 -echo '' - -# pull in the function definitions that people will use from the shell prompt. -. /.commonutils -. /.instutils - -mount -u /dev/rd0a / - -# run the installation script. -install diff --git a/distrib/mvme88k/ramdisk/list b/distrib/mvme88k/ramdisk/list index 79c5147f5c5..f34f322f33b 100644 --- a/distrib/mvme88k/ramdisk/list +++ b/distrib/mvme88k/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.11 2002/04/21 17:14:17 deraadt Exp $ +# $OpenBSD: list,v 1.12 2002/04/22 02:43:16 deraadt Exp $ COPY ${OBJDIR}/raminst raminst LINK raminst bin/cat @@ -78,10 +78,10 @@ COPY ${TOPDIR}/common/termcap.vt usr/share/misc/termcap COPY disktab.preinstall etc # and the installation tools -COPY dot.profile .profile -COPY install.sh install -SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${CURDIR}/install.md > install.md -COPY install.sub install.sub -COPY disktab.shadow etc/disktab.shadow +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/dot.profile > .profile +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${CURDIR}/install.md > install.md +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/upgrade.sh > upgrade +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/install.sh > install +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/../../miniroot/install.sub > install.sub +SPECIAL chmod 755 install upgrade -SPECIAL chmod 755 install diff --git a/distrib/mvmeppc/ramdisk/dot.profile b/distrib/mvmeppc/ramdisk/dot.profile deleted file mode 100644 index 6a467939873..00000000000 --- a/distrib/mvmeppc/ramdisk/dot.profile +++ /dev/null @@ -1,61 +0,0 @@ -# $OpenBSD: dot.profile,v 1.6 2002/04/01 01:31:39 deraadt Exp $ -# -# Copyright (c) 1994 Christopher G. Demetriou -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by Christopher G. Demetriou. -# 4. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ -umask 022 -set -o emacs # emacs-style command line editing - -if [ "X${DONEPROFILE}" = "X" ]; then - DONEPROFILE=YES - - # re-mount the boot media (perhaps r/w) - mount -u /dev/rd0a / - - # set up some sane defaults - echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T' - stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600 - - # Installing or upgrading? - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo -n '(I)nstall, (U)pgrade or (S)hell? ' - read _forceloop - case "$_forceloop" in - i*|I*) /install - ;; - u*|U*) /upgrade - ;; - s*|S*) ;; - *) _forceloop="" - ;; - esac - done -fi diff --git a/distrib/mvmeppc/ramdisk/list b/distrib/mvmeppc/ramdisk/list index 4621905b3df..69f2a6b2c90 100644 --- a/distrib/mvmeppc/ramdisk/list +++ b/distrib/mvmeppc/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.6 2002/04/21 17:14:17 deraadt Exp $ +# $OpenBSD: list,v 1.7 2002/04/22 02:43:16 deraadt Exp $ SRCDIRS distrib/special SRCDIRS gnu/usr.bin usr.bin bin sbin usr.sbin @@ -82,10 +82,10 @@ COPY ${DESTDIR}/sbin/dhclient-script sbin/dhclient-script COPY ${TOPDIR}/common/termcap.vt usr/share/misc/termcap # and the installation tools -COPY dot.profile .profile -COPY install.md install.md -COPY ${CURDIR}/../../miniroot/install.sh install -COPY ${CURDIR}/../../miniroot/upgrade.sh upgrade -#SPECIAL sed "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/install.sub > install.sub -SPECIAL sed "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/../../miniroot/install.sub > install.sub +# and the installation tools +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/dot.profile > .profile +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${CURDIR}/install.md > install.md +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/upgrade.sh > upgrade +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/install.sh > install +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/../../miniroot/install.sub > install.sub SPECIAL chmod 755 install upgrade diff --git a/distrib/ramdisk/list b/distrib/ramdisk/list index a5e6cba78d9..e1af234e3e0 100644 --- a/distrib/ramdisk/list +++ b/distrib/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.19 2002/04/21 07:47:31 deraadt Exp $ +# $OpenBSD: list,v 1.20 2002/04/22 02:43:16 deraadt Exp $ # $NetBSD: list,v 1.4.4.1 1996/06/20 20:30:26 pk Exp $ SRCDIRS distrib/special @@ -53,6 +53,7 @@ COPY ${CURDIR}/../miniroot/protocols etc/protocols COPY ${CURDIR}/../miniroot/services etc/services # and the installation scripts +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../miniroot/dot.profile > .profile SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../miniroot/upgrade.sh > upgrade SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../miniroot/install.sh > install SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "/^VERSION=/s/=.*/=${REV}/" < ${CURDIR}/../miniroot/install.sub > install.sub diff --git a/distrib/sparc/miniroot/list b/distrib/sparc/miniroot/list index cb34b7dd050..116794ac3d8 100644 --- a/distrib/sparc/miniroot/list +++ b/distrib/sparc/miniroot/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.16 2002/04/21 17:11:27 deraadt Exp $ +# $OpenBSD: list,v 1.17 2002/04/22 02:43:16 deraadt Exp $ # $NetBSD: list,v 1.2.4.2 1996/06/26 19:25:00 pk Exp $ # Sparc extra's @@ -41,7 +41,6 @@ SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf SYMLINK /tmp/hosts etc/hosts # and the installation tools -SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${ARCHDIR}/../dot.profile > .profile SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${ARCHDIR}/../install.md > install.md COPY ${DESTDIR}/usr/mdec/boot boot diff --git a/distrib/sparc/ramdisk/list b/distrib/sparc/ramdisk/list index 3039e25e574..b7acb40d3f5 100644 --- a/distrib/sparc/ramdisk/list +++ b/distrib/sparc/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.13 2002/04/21 17:11:27 deraadt Exp $ +# $OpenBSD: list,v 1.14 2002/04/22 02:43:16 deraadt Exp $ # $NetBSD: list,v 1.2.4.2 1996/06/26 19:25:00 pk Exp $ # Sparc extra's @@ -33,5 +33,4 @@ SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf SYMLINK /tmp/hosts etc/hosts # and the installation tools -SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${ARCHDIR}/../dot.profile > .profile SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${ARCHDIR}/../install.md > install.md diff --git a/distrib/sparc64/bsd.rd/list b/distrib/sparc64/bsd.rd/list index de0c73486c6..a1b34e19c1f 100644 --- a/distrib/sparc64/bsd.rd/list +++ b/distrib/sparc64/bsd.rd/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.6 2002/04/21 07:30:58 deraadt Exp $ +# $OpenBSD: list,v 1.7 2002/04/22 02:43:16 deraadt Exp $ # $NetBSD: list,v 1.4.4.1 1996/06/20 20:30:26 pk Exp $ SRCDIRS distrib/special @@ -69,7 +69,7 @@ SYMLINK /tmp/hosts etc/hosts COPY ${TOPDIR}/common/termcap.vt usr/share/misc/termcap # and the installation scripts -SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../common/dot.profile > .profile +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/dot.profile > .profile SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${CURDIR}/../common/install.md > install.md SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/install.sh > install SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/install.sh > upgrade diff --git a/distrib/sparc64/common/dot.profile b/distrib/sparc64/common/dot.profile deleted file mode 100644 index 6ba42924504..00000000000 --- a/distrib/sparc64/common/dot.profile +++ /dev/null @@ -1,67 +0,0 @@ -# $OpenBSD: dot.profile,v 1.7 2002/04/13 17:36:56 deraadt Exp $ -# -# Copyright (c) 1994 Christopher G. Demetriou -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by Christopher G. Demetriou. -# 4. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ -umask 022 -set -o emacs # emacs-style command line editing - -rootdisk=`dmesg|sed -n -e '/OpenBSD /h' -e '//!H' -e '${ - g - p -}'|sed -n -e '/^root on \([0-9a-z]*\).*/{ - s//\/dev\/\1/ - p -}'` - -if [ "X${DONEPROFILE}" = "X" ]; then - DONEPROFILE=YES - - mount -u ${rootdisk:-/dev/rd0a} / - - # set up some sane defaults - echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T' - stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600 - - # Installing or upgrading? - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - # No (U)pgrade possible for 3.1 Sparc64 - echo -n '(I)nstall or (S)hell? ' - read _forceloop - case "$_forceloop" in - i*|I*) /install - ;; - s*|S*) ;; - *) _forceloop="" - ;; - esac - done -fi diff --git a/distrib/sparc64/ramdisk/list b/distrib/sparc64/ramdisk/list index 644b1d80130..24ddbcc4983 100644 --- a/distrib/sparc64/ramdisk/list +++ b/distrib/sparc64/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.11 2002/04/21 07:30:58 deraadt Exp $ +# $OpenBSD: list,v 1.12 2002/04/22 02:43:16 deraadt Exp $ SRCDIRS distrib/special SRCDIRS gnu/usr.bin usr.bin bin sbin usr.sbin @@ -71,7 +71,7 @@ SYMLINK /tmp/hosts etc/hosts COPY ${TOPDIR}/common/termcap.vt usr/share/misc/termcap # and the installation tools -SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../common/dot.profile > .profile +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/dot.profile > .profile SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${CURDIR}/../common/install.md > install.md SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/install.sh > install SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/upgrade.sh > upgrade diff --git a/distrib/sparc64/ramdiskB/list b/distrib/sparc64/ramdiskB/list index 128a43e1f02..f93aff057b8 100644 --- a/distrib/sparc64/ramdiskB/list +++ b/distrib/sparc64/ramdiskB/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.7 2002/04/21 07:30:58 deraadt Exp $ +# $OpenBSD: list,v 1.8 2002/04/22 02:43:16 deraadt Exp $ SRCDIRS distrib/special SRCDIRS gnu/usr.bin usr.bin bin sbin usr.sbin @@ -71,7 +71,7 @@ SYMLINK /tmp/hosts etc/hosts COPY ${TOPDIR}/common/termcap.vt usr/share/misc/termcap # and the installation tools -SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../common/dot.profile > .profile +SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/dot.profile > .profile SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${CURDIR}/../common/install.md > install.md SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/install.sh > install SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${CURDIR}/../../miniroot/upgrade.sh > upgrade diff --git a/distrib/sun3/miniroot/dot.profile b/distrib/sun3/miniroot/dot.profile deleted file mode 100644 index afecb7fe764..00000000000 --- a/distrib/sun3/miniroot/dot.profile +++ /dev/null @@ -1,88 +0,0 @@ -# $OpenBSD: dot.profile,v 1.10 2002/04/13 17:36:56 deraadt Exp $ -# -# Copyright (c) 1995 Jason R. Thorpe -# Copyright (c) 1994 Christopher G. Demetriou -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by Christopher G. Demetriou. -# 4. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ -umask 022 -set -o emacs # emacs-style command line editing - -# XXX -# the TERM/EDITOR stuff is really well enough parameterized to be moved -# into install.sub where it could use the routines there and be invoked -# from the various (semi) MI install and upgrade scripts -# terminals believed to be in termcap, default TERM -TERMS="sun vt* pcvt* dumb" -TERM=sun - -rootdisk=`dmesg|sed -n -e '/OpenBSD /h' -e '//!H' -e '${ - g - p -}'|sed -n -e '/^root on \([0-9a-z]*\).*/{ - s//\/dev\/\1/ - p -}'` - -if [ "X${DONEPROFILE}" = "X" ]; then - DONEPROFILE=YES - - mount -u ${rootdisk:-/dev/rd0a} / - - # set up some sane defaults - echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T' - stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600 - - # get the terminal type - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo "Supported terminals are: $TERMS" - eval `tset -s -m ":?$TERM"` - if [ "X$TERM" != X"unknown" ]; then - _forceloop="done" - fi - done - export TERM - - # Installing or upgrading? - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo -n '(I)nstall, (U)pgrade, or (S)hell? ' - read _forceloop - case "$_forceloop" in - i*|I*) /install - ;; - u*|U*) /upgrade - ;; - s*|S*) ;; - *) _forceloop="" - ;; - esac - done -fi diff --git a/distrib/sun3/miniroot/list b/distrib/sun3/miniroot/list index 0e6191c7a21..9f05b5bd10b 100644 --- a/distrib/sun3/miniroot/list +++ b/distrib/sun3/miniroot/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.5 2002/04/21 17:13:35 deraadt Exp $ +# $OpenBSD: list,v 1.6 2002/04/22 02:43:16 deraadt Exp $ # Sun3 extras LINK instbin sbin/disklabel @@ -42,7 +42,6 @@ SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf SYMLINK /tmp/hosts etc/hosts # and the installation tools -SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${ARCHDIR}/dot.profile > .profile SPECIAL sed -e '/^#[ ].*$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`" < ${CURDIR}/../common/install.md > install.md SPECIAL sync; ${DESTDIR}/usr/mdec/installboot ${TARGDIR}/boot ${DESTDIR}/usr/mdec/bootxx /dev/rsvnd0c diff --git a/distrib/sun3/ramdisk/dot.profile b/distrib/sun3/ramdisk/dot.profile deleted file mode 100644 index ea3c356d0f2..00000000000 --- a/distrib/sun3/ramdisk/dot.profile +++ /dev/null @@ -1,80 +0,0 @@ -# $OpenBSD: dot.profile,v 1.8 2002/04/01 01:31:40 deraadt Exp $ -# -# Copyright (c) 1995 Jason R. Thorpe -# Copyright (c) 1994 Christopher G. Demetriou -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by Christopher G. Demetriou. -# 4. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ -umask 022 -set -o emacs # emacs-style command line editing - -# XXX -# the TERM/EDITOR stuff is really well enough parameterized to be moved -# into install.sub where it could use the routines there and be invoked -# from the various (semi) MI install and upgrade scripts -# terminals believed to be in termcap, default TERM -TERMS="sun vt* pcvt* dumb" -TERM=sun - -if [ "X${DONEPROFILE}" = "X" ]; then - DONEPROFILE=YES - - mount -u /dev/rd0a / - - # set up some sane defaults - echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T' - stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600 - - # get the terminal type - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo "Supported terminals are: $TERMS" - eval `tset -s -m ":?$TERM"` - if [ "X$TERM" != X"unknown" ]; then - _forceloop="done" - fi - done - export TERM - - # Installing or upgrading? - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo -n '(I)nstall, (U)pgrade, or (S)hell? ' - read _forceloop - case "$_forceloop" in - i*|I*) /install - ;; - u*|U*) /upgrade - ;; - s*|S*) ;; - *) _forceloop="" - ;; - esac - done -fi diff --git a/distrib/sun3/ramdisk/list b/distrib/sun3/ramdisk/list index 41a7ac7f1f3..85bf7e83554 100644 --- a/distrib/sun3/ramdisk/list +++ b/distrib/sun3/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.7 2002/04/21 17:13:35 deraadt Exp $ +# $OpenBSD: list,v 1.8 2002/04/22 02:43:16 deraadt Exp $ # Sun3 extra's LINK instbin sbin/disklabel @@ -32,5 +32,4 @@ SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf SYMLINK /tmp/hosts etc/hosts # and the installation tools -SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${ARCHDIR}/../ramdisk/dot.profile > .profile SPECIAL sed -e '/^#[ ].*$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${CURDIR}/../common/install.md > install.md diff --git a/distrib/vax/inst/Makefile b/distrib/vax/inst/Makefile deleted file mode 100644 index 48df1b24d62..00000000000 --- a/distrib/vax/inst/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# $OpenBSD: Makefile,v 1.3 2000/03/01 22:10:13 todd Exp $ - -TOP= ${.CURDIR}/.. - -.include "${TOP}/Makefile.inc" -IMAGE= miniroot-${REV}.fs - -.include "${TOP}/inst-common/Makefile.inc" diff --git a/distrib/vax/inst/disktab.preinstall b/distrib/vax/inst/disktab.preinstall deleted file mode 100644 index fa9e06b20ba..00000000000 --- a/distrib/vax/inst/disktab.preinstall +++ /dev/null @@ -1,31 +0,0 @@ -# $OpenBSD: disktab.preinstall,v 1.2 2000/03/01 22:10:13 todd Exp $ - -# Disk geometry and partition layout tables. -# Key: -# dt controller type -# ty type of disk (fixed, removeable, simulated) -# d[0-4] drive-type-dependent parameters -# ns #sectors/track -# nt #tracks/cylinder -# nc #cylinders/disk -# sc #sectors/cylinder, nc*nt default -# su #sectors/unit, sc*nc default -# se sector size, DEV_BSIZE default -# rm rpm, 3600 default -# sf supports bad144-style bad sector forwarding -# sk sector skew per track, default 0 -# cs sector skew per cylinder, default 0 -# hs headswitch time, default 0 -# ts one-cylinder seek time, default 0 -# il sector interleave (n:1), 1 default -# bs boot block size, default BBSIZE -# sb superblock size, default SBSIZE -# o[a-h] partition offsets in sectors -# p[a-h] partition sizes in sectors -# b[a-h] partition block sizes in bytes -# f[a-h] partition fragment sizes in bytes -# t[a-h] partition types (filesystem, swap, etc) -# -# All partition sizes reserve space for bad sector tables. -# (5 cylinders needed for maintenance + replacement sectors) -# diff --git a/distrib/vax/inst/dot.profile b/distrib/vax/inst/dot.profile deleted file mode 100644 index ba5d60e0aee..00000000000 --- a/distrib/vax/inst/dot.profile +++ /dev/null @@ -1,15 +0,0 @@ -PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ export PATH -TERM=vt100 export TERM - -# set up some sane defaults -echo 'erase ^?, werase ^?, kill ^U, intr ^C, status ^T' -stty newcrt werase ^? intr ^C kill ^U erase ^? status ^T 9600 -echo -echo "Now when OpenBSD is booted you're on your own." -echo "Remember to write bootblocks and to make devices" -echo "in dev in your new root filesystem before booting." -echo "Also remember to copy /bsd and /boot to the" -echo "new root; it's not there by default." -echo -echo "Good luck!" -echo diff --git a/distrib/vax/inst/list b/distrib/vax/inst/list deleted file mode 100644 index ab418b36483..00000000000 --- a/distrib/vax/inst/list +++ /dev/null @@ -1,7 +0,0 @@ -# $OpenBSD: list,v 1.3 2000/03/01 22:10:13 todd Exp $ - -# the disktab explanation file -COPY disktab.preinstall etc - -# and the installation tools -COPY dot.profile .profile diff --git a/distrib/vax/ramdisk/dot.profile b/distrib/vax/ramdisk/dot.profile deleted file mode 100644 index 4a6d4a0ff7a..00000000000 --- a/distrib/vax/ramdisk/dot.profile +++ /dev/null @@ -1,70 +0,0 @@ -# $OpenBSD: dot.profile,v 1.9 2002/04/18 06:02:37 deraadt Exp $ -# $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $ -# -# Copyright (c) 1995 Jason R. Thorpe -# Copyright (c) 1994 Christopher G. Demetriou -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by Christopher G. Demetriou. -# 4. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/ -umask 022 -set -o emacs # emacs-style command line editing - -# XXX -# the TERM/EDITOR stuff is really well enough parameterized to be moved -# into install.sub where it could use the routines there and be invoked -# from the various (semi) MI install and upgrade scripts -# terminals believed to be in termcap, default TERM -TERMS="sun vt* dumb" -TERM=vt100 - -if [ "X${DONEPROFILE}" = "X" ]; then - DONEPROFILE=YES - - mount -u /dev/rd0a / - - # set up some sane defaults - echo 'erase ^?, werase ^W, kill ^U, intr ^C' - stty newcrt werase ^W intr ^C kill ^U erase ^? 9600 - - # Installing or upgrading? - _forceloop="" - while [ "X$_forceloop" = X"" ]; do - echo -n '(I)nstall, (U)pgrade, or (S)hell? ' - read _forceloop - case "$_forceloop" in - i*|I*) /install - ;; - u*|U*) /upgrade - ;; - s*|S*) ;; - *) _forceloop="" - ;; - esac - done -fi diff --git a/distrib/vax/ramdisk/list b/distrib/vax/ramdisk/list index 10aba1ca3bf..b8243f31026 100644 --- a/distrib/vax/ramdisk/list +++ b/distrib/vax/ramdisk/list @@ -1,4 +1,4 @@ -# $OpenBSD: list,v 1.11 2002/04/21 07:31:32 deraadt Exp $ +# $OpenBSD: list,v 1.12 2002/04/22 02:43:16 deraadt Exp $ # $NetBSD: list,v 1.2.4.2 1996/06/26 19:25:00 pk Exp $ # extras @@ -33,5 +33,4 @@ SYMLINK /tmp/resolv.conf.shadow etc/resolv.conf SYMLINK /tmp/hosts etc/hosts # and the installation tools -SPECIAL sed -e '/^[ ]*#[ ].*$/d' -e '/^[ ]*#$/d' < ${ARCHDIR}/../ramdisk/dot.profile > .profile SPECIAL sed -e '/^#[ ].*$/d' -e "s/^ARCH=ARCH$/ARCH=`arch -ks`/" < ${ARCHDIR}/../install.md > install.md |