Source-Changes-HG archive

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

[src/netbsd-1-5]: src/etc/rc.d pull up rev 1.7 (approved by thorpej):



details:   https://anonhg.NetBSD.org/src/rev/865bc5250894
branches:  netbsd-1-5
changeset: 489623:865bc5250894
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Oct 02 01:10:10 2000 +0000

description:
pull up rev 1.7 (approved by thorpej):
        - always use $rcvar to determine the name of the var to checkyesno
        - fix force*

diffstat:

 etc/rc.d/dhclient |  3 ++-
 etc/rc.d/syslogd  |  5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r ac6ed9d23c15 -r 865bc5250894 etc/rc.d/dhclient
--- a/etc/rc.d/dhclient Mon Oct 02 01:09:49 2000 +0000
+++ b/etc/rc.d/dhclient Mon Oct 02 01:10:10 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: dhclient,v 1.5.4.1 2000/08/09 19:09:39 lukem Exp $
+# $NetBSD: dhclient,v 1.5.4.2 2000/10/02 01:10:10 lukem Exp $
 #
 
 # PROVIDE: dhclient
@@ -13,6 +13,7 @@
 . /etc/rc.subr
 
 name="dhclient"
+rcvar=$name
 command="/sbin/${name}"
 pidfile="/var/run/${name}.pid"
 
diff -r ac6ed9d23c15 -r 865bc5250894 etc/rc.d/syslogd
--- a/etc/rc.d/syslogd  Mon Oct 02 01:09:49 2000 +0000
+++ b/etc/rc.d/syslogd  Mon Oct 02 01:10:10 2000 +0000
@@ -1,14 +1,15 @@
 #!/bin/sh
 #
-# $NetBSD: syslogd,v 1.4.4.1 2000/08/09 19:09:48 lukem Exp $
+# $NetBSD: syslogd,v 1.4.4.2 2000/10/02 01:10:11 lukem Exp $
 #
 
 # PROVIDE: syslogd
-# REQUIRE: mountcritremote wscons databases
+# REQUIRE: mountcritremote sysdb wscons
 
 . /etc/rc.subr
 
 name="syslogd"
+rcvar=$name
 command="/usr/sbin/${name}"
 pidfile="/var/run/${name}.pid"
 required_files="/etc/syslog.conf"



Home | Main Index | Thread Index | Old Index