Source-Changes-HG archive

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

[src/netbsd-1-6]: src/distrib/miniroot Pull up revision 1.43 (requested by bo...



details:   https://anonhg.NetBSD.org/src/rev/98853c1341b4
branches:  netbsd-1-6
changeset: 527889:98853c1341b4
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Jun 13 02:34:40 2002 +0000

description:
Pull up revision 1.43 (requested by bouyer in ticket #255):
If it exists, source /mnt/etc/defaults/rc.conf before /mnt/etc/rc.conf,
so that upgrade.sh gets all the parameters in its initialisation phase.

diffstat:

 distrib/miniroot/install.sub |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 70d459eda06f -r 98853c1341b4 distrib/miniroot/install.sub
--- a/distrib/miniroot/install.sub      Wed Jun 12 01:28:09 2002 +0000
+++ b/distrib/miniroot/install.sub      Thu Jun 13 02:34:40 2002 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: install.sub,v 1.41 2002/04/18 21:41:38 fredette Exp $
+#      $NetBSD: install.sub,v 1.41.2.1 2002/06/13 02:34:40 lukem Exp $
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -518,6 +518,9 @@
 if [ -f /mnt/etc/rc.conf ]; then
 (
        # assume network interface configuration style 1.2D and up
+       if [ -f /mnt/etc/defaults/rc.conf ]; then
+               . /mnt/etc/defaults/rc.conf
+       fi
        . /mnt/etc/rc.conf
 
        if [ "$net_interfaces" != NO ]; then



Home | Main Index | Thread Index | Old Index