Source-Changes-HG archive

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

[src/trunk]: src/etc consistently set rc_(fast|force)=yes



details:   https://anonhg.NetBSD.org/src/rev/09a67c90d635
branches:  trunk
changeset: 525813:09a67c90d635
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Apr 18 07:18:05 2002 +0000

description:
consistently set rc_(fast|force)=yes

diffstat:

 etc/rc      |   4 ++--
 etc/rc.subr |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (54 lines):

diff -r 870c2bacebd4 -r 09a67c90d635 etc/rc
--- a/etc/rc    Thu Apr 18 05:30:45 2002 +0000
+++ b/etc/rc    Thu Apr 18 07:18:05 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: rc,v 1.159 2002/03/22 04:16:38 lukem Exp $
+# $NetBSD: rc,v 1.160 2002/04/18 07:18:05 lukem Exp $
 #
 # rc --
 #      Run the scripts in /etc/rc.d with rcorder.
@@ -24,7 +24,7 @@
 
 if [ "$1" = autoboot ]; then
        autoboot=yes
-       rc_fast=YES     # run_rc_command(): do fast booting
+       rc_fast=yes     # run_rc_command(): do fast booting
 fi
 
 stty status '^T'
diff -r 870c2bacebd4 -r 09a67c90d635 etc/rc.subr
--- a/etc/rc.subr       Thu Apr 18 05:30:45 2002 +0000
+++ b/etc/rc.subr       Thu Apr 18 07:18:05 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rc.subr,v 1.47 2002/03/27 08:53:42 lukem Exp $
+# $NetBSD: rc.subr,v 1.48 2002/04/18 07:18:05 lukem Exp $
 #
 # Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -248,8 +248,8 @@
 #      If argument has a given prefix, then change the operation as follows:
 #              Prefix  Operation
 #              ------  ---------
-#              fast    Skip the pid check, and set rc_fast=YES
-#              force   Set ${rcvar} to YES, and set rc_force=YES.
+#              fast    Skip the pid check, and set rc_fast=yes
+#              force   Set ${rcvar} to YES, and set rc_force=yes
 #
 #      The following globals are used:
 #
@@ -384,11 +384,11 @@
        case "$rc_arg" in
        fast*)                          # "fast" prefix; don't check pid
                rc_arg=${rc_arg#fast}
-               rc_fast=YES
+               rc_fast=yes
                ;;
        force*)                         # "force prefix; always start
                rc_arg=${rc_arg#force}
-               rc_force=YES
+               rc_force=yes
                if [ -n "${rcvar}" ]; then
                        eval ${rcvar}=YES
                fi



Home | Main Index | Thread Index | Old Index