Source-Changes-HG archive

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

[src/trunk]: src/etc revert previous; the fast-start functionality already ex...



details:   https://anonhg.NetBSD.org/src/rev/99f3806db1ba
branches:  trunk
changeset: 485203:99f3806db1ba
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Apr 22 03:01:22 2000 +0000

description:
revert previous; the fast-start functionality already existed, and
works at multi-user boot. (starting /etc/rc after single user boot
doesn't exhibit this fast start behaviour).

diffstat:

 etc/rc      |  4 ++--
 etc/rc.subr |  8 +-------
 2 files changed, 3 insertions(+), 9 deletions(-)

diffs (42 lines):

diff -r 364ceb375589 -r 99f3806db1ba etc/rc
--- a/etc/rc    Sat Apr 22 00:51:21 2000 +0000
+++ b/etc/rc    Sat Apr 22 03:01:22 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: rc,v 1.151 2000/04/19 04:26:22 simonb Exp $
+# $NetBSD: rc,v 1.152 2000/04/22 03:01:22 lukem Exp $
 #
 # rc.sh --
 #      Run the scripts in /etc/rc.d with rcorder.
@@ -36,7 +36,7 @@
 files=`rcorder /etc/rc.d/*`
 
 for i in $files; do
-       rc_fastboot=yes run_rc_script $i start
+       run_rc_script $i start
 done
 
 date
diff -r 364ceb375589 -r 99f3806db1ba etc/rc.subr
--- a/etc/rc.subr       Sat Apr 22 00:51:21 2000 +0000
+++ b/etc/rc.subr       Sat Apr 22 03:01:22 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rc.subr,v 1.12 2000/04/19 04:26:22 simonb Exp $
+# $NetBSD: rc.subr,v 1.13 2000/04/22 03:01:22 lukem Exp $
 #
 # Copyright (c) 1997-2000 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -233,12 +233,6 @@
                err 3 'neither $rcvar or $name is set.'
        fi
 
-       if [ ! -z "$rc_fastboot" ]; then
-               if checkyesno rc_fastboot; then
-                       _arg=fast$_arg
-               fi
-       fi
-
        case "$_arg" in
        fast*)
                _arg=${_arg#fast}



Home | Main Index | Thread Index | Old Index