Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/x68k/floppies/ramdisk swapon only if physmem <= 4MB.



details:   https://anonhg.NetBSD.org/src/rev/0f9dba02d9d1
branches:  trunk
changeset: 471928:0f9dba02d9d1
user:      minoura <minoura%NetBSD.org@localhost>
date:      Thu Apr 15 15:20:21 1999 +0000

description:
swapon only if physmem <= 4MB.
Other message cosmetics.

diffstat:

 distrib/x68k/floppies/ramdisk/install.tmpl |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (43 lines):

diff -r 7423308f9675 -r 0f9dba02d9d1 distrib/x68k/floppies/ramdisk/install.tmpl
--- a/distrib/x68k/floppies/ramdisk/install.tmpl        Thu Apr 15 15:18:21 1999 +0000
+++ b/distrib/x68k/floppies/ramdisk/install.tmpl        Thu Apr 15 15:20:21 1999 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#      $NetBSD: install.tmpl,v 1.7 1999/04/02 15:46:34 minoura Exp $
+#      $NetBSD: install.tmpl,v 1.8 1999/04/15 15:20:21 minoura Exp $
 #
 # Copyright (c) 1994 Christopher G. Demetriou
 # Copyright (c) 1997 Perry E. Metzger
@@ -396,18 +396,18 @@
 $DONTDOIT disklabel -w $drivename $labelname
 echo   " done."
 
-if [ `cat /kern/physmem` -lt 1536 ]; then # less than 6megs
+if [ `cat /kern/physmem` -le 1024 ]; then # less than 4megs
        echo    ""
        echo    "You have to increase the virtual memory by activating"
-       echo    "the swap device you have just configured"
-       echo    "especially if you are going to retrieve the distribution sets"
-       echo    "via network."
+       echo    "the swap device you have just configured especially if"
+       echo    "you are going to retrieve the distribution sets via network."
+       echo    ""
        echo -n "Enable swapping? (yes/no)"
        getresp "y"
        case $resp in
                n*)
                        echo    ""
-                       echo    "OK, swapping is not enabled."
+                       echo    "Good, swapping is not enabled."
                        ;;
                *)
                        echo    ""
@@ -419,6 +419,7 @@
        echo    "Note that you have to use the SMALL kernel named"
        echo    "netbsd.SMALL in x68k/binary/kernel/ directory instead of"
        echo    "the standard kernel which is included the kern.tgz."
+       echo    ""
 fi
 
 if [ "$sect_fwd" = "sf:" ]; then



Home | Main Index | Thread Index | Old Index