Source-Changes-HG archive

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

[src/trunk]: src/etc/rc.d Execute the actual command as it's set instead of c...



details:   https://anonhg.NetBSD.org/src/rev/f49da691a02a
branches:  trunk
changeset: 543379:f49da691a02a
user:      atatat <atatat%NetBSD.org@localhost>
date:      Mon Feb 24 01:04:45 2003 +0000

description:
Execute the actual command as it's set instead of calling the sh
routine directly.  This allows one to to override a specific command
via the use of /etc/rc.conf.d/sysdb.

diffstat:

 etc/rc.d/sysdb |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r b52ba665ec43 -r f49da691a02a etc/rc.d/sysdb
--- a/etc/rc.d/sysdb    Mon Feb 24 00:49:43 2003 +0000
+++ b/etc/rc.d/sysdb    Mon Feb 24 01:04:45 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: sysdb,v 1.11 2002/10/08 16:21:52 atatat Exp $
+# $NetBSD: sysdb,v 1.12 2003/02/24 01:04:45 atatat Exp $
 #
 
 # PROVIDE: sysdb
@@ -20,9 +20,9 @@
 sysdb_start()
 {
        echo "Building databases..."
-       build_kvmdb
-       build_devdb
-       build_utmp
+       $kvmdb_cmd
+       $devdb_cmd
+       $utmp_cmd
 }
 
 build_kvmdb()



Home | Main Index | Thread Index | Old Index