From f2eddf1056bcb160e8ad4e94fbf4037bfd16598f Mon Sep 17 00:00:00 2001 From: Jason Downs Date: Sun, 23 Feb 1997 19:10:56 +0000 Subject: Checkpoint. This should be pretty close now, just gotta fix kernel bugs. --- distrib/hp300/ramdisk/dot.profile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'distrib/hp300/ramdisk/dot.profile') 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 -- cgit v1.2.3