Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/amiga/miniroot On upgrades, or on installs where ker...
details: https://anonhg.NetBSD.org/src/rev/297bf98fb61c
branches: trunk
changeset: 499238:297bf98fb61c
user: is <is%NetBSD.org@localhost>
date: Tue Nov 14 22:37:58 2000 +0000
description:
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 09cd0422da9d -r 297bf98fb61c distrib/amiga/miniroot/install.md
--- a/distrib/amiga/miniroot/install.md Tue Nov 14 22:37:12 2000 +0000
+++ b/distrib/amiga/miniroot/install.md Tue Nov 14 22:37:58 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: install.md,v 1.13 2000/10/24 19:43:23 is Exp $
+# $NetBSD: install.md,v 1.14 2000/11/14 22:37:58 is 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