Source-Changes-HG archive

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

[src/netbsd-1-5]: src/distrib/amiga/miniroot Pullup 1.14 [is]:



details:   https://anonhg.NetBSD.org/src/rev/cc23481f1903
branches:  netbsd-1-5
changeset: 490244:cc23481f1903
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Nov 15 19:49:14 2000 +0000

description:
Pullup 1.14 [is]:
On upgrades, or on installs where kern.tgz was installed, ask user wether
the installed kernel should be replaced by the miniroot kernel.

diffstat:

 distrib/amiga/miniroot/install.md |  16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r c3e079ba0609 -r cc23481f1903 distrib/amiga/miniroot/install.md
--- a/distrib/amiga/miniroot/install.md Wed Nov 15 19:43:58 2000 +0000
+++ b/distrib/amiga/miniroot/install.md Wed Nov 15 19:49:14 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: install.md,v 1.11.8.2 2000/10/30 23:36:16 tv Exp $
+#      $NetBSD: install.md,v 1.11.8.3 2000/11/15 19:49:14 tv Exp $
 #
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -239,6 +239,20 @@
        fi
 
        if [ -e /netbsd ]; then
+               if [ -e /mnt/netbsd ]; then
+                       echo "On the installation filesystem there is this kernel: "
+                       ls -l /netbsd
+                       echo "The already installed kernel is: "
+                       ls -l /mnt/netbsd
+                       echo    "Do you want to replace the already installed kernel by the kernel"
+                       echo -n "on the installation filesystem? (y/n) [n] "
+                       resp="n"
+                       getresp ""
+                       if [ "${resp}" != "y" -a "${resp}" != "Y" ]; then
+                               return
+                       fi
+               fi
+
                echo -n "Copying kernel..."
                cp -p /netbsd /mnt/netbsd
                echo "done."



Home | Main Index | Thread Index | Old Index