Source-Changes-HG archive

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

[src/trunk]: src/etc don't bother checking rc_configured each time run_rc_com...



details:   https://anonhg.NetBSD.org/src/rev/722fb84ec830
branches:  trunk
changeset: 485372:722fb84ec830
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Apr 26 15:06:46 2000 +0000

description:
don't bother checking rc_configured each time run_rc_command executes; once in /etc/rc is enough

diffstat:

 etc/rc.subr |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (20 lines):

diff -r c8590526d4b3 -r 722fb84ec830 etc/rc.subr
--- a/etc/rc.subr       Wed Apr 26 15:01:36 2000 +0000
+++ b/etc/rc.subr       Wed Apr 26 15:06:46 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rc.subr,v 1.13 2000/04/22 03:01:22 lukem Exp $
+# $NetBSD: rc.subr,v 1.14 2000/04/26 15:06:46 lukem Exp $
 #
 # Copyright (c) 1997-2000 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -222,10 +222,6 @@
 #
 run_rc_command()
 {
-       if ! checkyesno rc_configured; then
-               err 1 '/etc/rc.conf is not configured'
-       fi
-
        _arg=$1
        shift
        _ckvar=${rcvar:-$name}



Home | Main Index | Thread Index | Old Index