Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/distrib pull up rev 1.2 from trunk. (cgd)
details: https://anonhg.NetBSD.org/src/rev/9931e86e6b0f
branches: netbsd-1-4
changeset: 469106:9931e86e6b0f
user: cgd <cgd%NetBSD.org@localhost>
date: Sat Jun 26 23:56:47 1999 +0000
description:
pull up rev 1.2 from trunk. (cgd)
diffstat:
distrib/sparc/ramdisk.sysinst/dot.profile.m4 | 76 ++++++++++++++++++++++++++++
distrib/sparc64/miniroot/dot.profile | 3 +-
distrib/vax/ramdisk/dot.hdprofile | 3 +-
distrib/vax/ramdisk/dot.profile | 3 +-
4 files changed, 82 insertions(+), 3 deletions(-)
diffs (131 lines):
diff -r 501b96bae6d7 -r 9931e86e6b0f distrib/sparc/ramdisk.sysinst/dot.profile.m4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/sparc/ramdisk.sysinst/dot.profile.m4 Sat Jun 26 23:56:47 1999 +0000
@@ -0,0 +1,76 @@
+# $NetBSD: dot.profile.m4,v 1.1.2.2 1999/06/26 23:56:47 cgd Exp $
+#
+# Copyright (c) 1994 Christopher G. Demetriou
+# Copyright (c) 1997 Perry E. Metzger
+# 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.
+#
+
+PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export PATH
+
+ifelse(MACHINE,i386,TERM=pc3)
+ifelse(MACHINE,sparc,TERM=sun)
+export TERM
+HOME=/
+export HOME
+BLOCKSIZE=1k
+export BLOCKSIZE
+EDITOR=ed
+export EDITOR
+
+umask 022
+
+ROOTDEV=/dev/md0a
+
+if [ "X${DONEPROFILE}" = "X" ]; then
+ DONEPROFILE=YES
+ export DONEPROFILE
+
+ # set up some sane defaults
+ echo 'erase ^?, werase ^W, kill ^U, intr ^C'
+ stty newcrt werase ^W intr ^C kill ^U erase ^? 9600
+ echo ''
+
+ echo -n "Terminal type (just hit ENTER for '$TERM'): "
+ read ans
+ if [ -n "$ans" ];then
+ TERM=$ans
+ fi
+
+ # run update, so that installed software is written as it goes.
+ update
+
+ # mount the ramdisk read write
+ mount -u $ROOTDEV /
+
+ # mount the kern_fs so that we can examine the dmesg state
+ mount -t kernfs /kern /kern
+
+ # run the installation or upgrade script.
+ sysinst
+fi
diff -r 501b96bae6d7 -r 9931e86e6b0f distrib/sparc64/miniroot/dot.profile
--- a/distrib/sparc64/miniroot/dot.profile Sat Jun 26 23:56:42 1999 +0000
+++ b/distrib/sparc64/miniroot/dot.profile Sat Jun 26 23:56:47 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 1999/01/23 06:44:38 mrg Exp $
+# $NetBSD: dot.profile,v 1.1.2.1 1999/06/26 23:56:53 cgd Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
# Copyright (c) 1994 Christopher G. Demetriou
@@ -41,6 +41,7 @@
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
+ export DONEPROFILE
# set up some sane defaults
echo 'erase ^H, werase ^W, kill ^U, intr ^C'
diff -r 501b96bae6d7 -r 9931e86e6b0f distrib/vax/ramdisk/dot.hdprofile
--- a/distrib/vax/ramdisk/dot.hdprofile Sat Jun 26 23:56:42 1999 +0000
+++ b/distrib/vax/ramdisk/dot.hdprofile Sat Jun 26 23:56:47 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.hdprofile,v 1.1 1999/03/12 18:36:52 ragge Exp $
+# $NetBSD: dot.hdprofile,v 1.1.2.1 1999/06/26 23:56:59 cgd Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -40,6 +40,7 @@
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
+ export DONEPROFILE
echo "Checking filesystems..."
fsck -y
diff -r 501b96bae6d7 -r 9931e86e6b0f distrib/vax/ramdisk/dot.profile
--- a/distrib/vax/ramdisk/dot.profile Sat Jun 26 23:56:42 1999 +0000
+++ b/distrib/vax/ramdisk/dot.profile Sat Jun 26 23:56:47 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 1999/03/12 18:36:52 ragge Exp $
+# $NetBSD: dot.profile,v 1.1.2.1 1999/06/26 23:57:05 cgd Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# Copyright (c) 1997 Perry E. Metzger
@@ -43,6 +43,7 @@
if [ "X${DONEPROFILE}" = "X" ]; then
DONEPROFILE=YES
+ export DONEPROFILE
# set up some sane defaults
echo 'erase ^?, werase ^W, kill ^U, intr ^C'
Home |
Main Index |
Thread Index |
Old Index