Source-Changes-HG archive

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

[src/trunk]: src/etc/rc.d don't bother warning or supporting obsolete $critic...



details:   https://anonhg.NetBSD.org/src/rev/653700e386eb
branches:  trunk
changeset: 526261:653700e386eb
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Apr 29 12:29:53 2002 +0000

description:
don't bother warning or supporting obsolete $critical_filesystems_beforenet
or $critical_filesystems; postinstall now checks for these

diffstat:

 etc/rc.d/mountcritlocal  |  11 +----------
 etc/rc.d/mountcritremote |  11 +----------
 2 files changed, 2 insertions(+), 20 deletions(-)

diffs (54 lines):

diff -r e9ec83a8d0bb -r 653700e386eb etc/rc.d/mountcritlocal
--- a/etc/rc.d/mountcritlocal   Mon Apr 29 12:14:36 2002 +0000
+++ b/etc/rc.d/mountcritlocal   Mon Apr 29 12:29:53 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: mountcritlocal,v 1.6 2002/03/27 08:53:42 lukem Exp $
+# $NetBSD: mountcritlocal,v 1.7 2002/04/29 12:29:53 lukem Exp $
 #
 
 # PROVIDE: mountcritlocal
@@ -14,15 +14,6 @@
 
 mountcritlocal_start()
 {
-       #       If obsolete $critical_filesystems_beforenet is set,
-       #       use that instead of $critical_filesystems_local.
-       #
-       if [ -n "$critical_filesystems_beforenet" -o \
-           "${critical_filesystems_beforenet-unset}" != "unset" ]; then
-               warn 'Overriding $critical_filesystems_local with obsolete $critical_filesystems_beforenet'
-               critical_filesystems_local=$critical_filesystems_beforenet
-       fi
-
        #       Mount critical filesystems that are `local'
        #       (as specified in $critical_filesystems_local)
        #       This usually includes /var.
diff -r e9ec83a8d0bb -r 653700e386eb etc/rc.d/mountcritremote
--- a/etc/rc.d/mountcritremote  Mon Apr 29 12:14:36 2002 +0000
+++ b/etc/rc.d/mountcritremote  Mon Apr 29 12:29:53 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: mountcritremote,v 1.6 2002/03/27 08:53:42 lukem Exp $
+# $NetBSD: mountcritremote,v 1.7 2002/04/29 12:29:53 lukem Exp $
 #
 
 # PROVIDE: mountcritremote
@@ -14,15 +14,6 @@
 
 mountcritremote_start()
 {
-       #       If obsolete $critical_filesystems is set,
-       #       use that instead of $critical_filesystems_remote.
-       #
-       if [ -n "$critical_filesystems" -o \
-           "${critical_filesystems-unset}" != "unset" ]; then
-               warn 'Overriding $critical_filesystems_remote with obsolete $critical_filesystems'
-               critical_filesystems_remote=$critical_filesystems
-       fi
-
        #       Mount critical filesystems that may be `remote'.
        #       (as specified in $critical_filesystems_remote)
        #       This usually includes /usr.



Home | Main Index | Thread Index | Old Index