summaryrefslogtreecommitdiff
path: root/distrib/hp300/ramdisk/dot.profile
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-02-23 19:10:56 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-02-23 19:10:56 +0000
commitf2eddf1056bcb160e8ad4e94fbf4037bfd16598f (patch)
tree3bb9f86733c728091dfd6a16d4457f19448cada3 /distrib/hp300/ramdisk/dot.profile
parentdbcae50b6e4574e8e8a12b1ff2b1b81f7aab566d (diff)
Checkpoint. This should be pretty close now, just gotta fix kernel
bugs.
Diffstat (limited to 'distrib/hp300/ramdisk/dot.profile')
-rw-r--r--distrib/hp300/ramdisk/dot.profile12
1 files changed, 10 insertions, 2 deletions
diff --git a/distrib/hp300/ramdisk/dot.profile b/distrib/hp300/ramdisk/dot.profile
index cb03fdbf732..4f28ab30d16 100644
--- a/distrib/hp300/ramdisk/dot.profile
+++ b/distrib/hp300/ramdisk/dot.profile
@@ -1,5 +1,5 @@
#
-# $OpenBSD: dot.profile,v 1.2 1997/02/16 19:32:32 downsj Exp $
+# $OpenBSD: dot.profile,v 1.3 1997/02/23 19:10:51 downsj Exp $
# $NetBSD: dot.profile,v 1.1 1995/07/18 04:13:09 briggs Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
@@ -37,11 +37,19 @@ TERM=hp300h
export TERM
# set up some sane defaults
-echo "TERM is $TERM"
echo 'erase ^?, werase ^H, kill ^U, intr ^C'
stty newcrt werase ^H intr ^C kill ^U erase ^? 9600
echo ''
+# This needs to be done now, for the sake of ksh.
+if [ ! -f /tmp/writeable ]; then
+ echo 'Remounting /dev/rd0a as root...'
+ mount -t ffs -u /dev/rd0a /
+ sleep 2
+ # ..and let install.md know we've done it.
+ > /tmp/writeable
+fi
+
# pull in the function definitions that people will use from the shell prompt.
. /.commonutils
. /.instutils