Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/rc.d Add missing checkyesno's.
details: https://anonhg.NetBSD.org/src/rev/5db014e00d12
branches: trunk
changeset: 483516:5db014e00d12
user: veego <veego%NetBSD.org@localhost>
date: Sat Mar 11 20:10:21 2000 +0000
description:
Add missing checkyesno's.
diffstat:
etc/rc.d/ipfilter | 4 ++--
etc/rc.d/lkm3 | 4 +++-
etc/rc.d/ntpdate | 3 ++-
3 files changed, 7 insertions(+), 4 deletions(-)
diffs (60 lines):
diff -r 1147baa4a190 -r 5db014e00d12 etc/rc.d/ipfilter
--- a/etc/rc.d/ipfilter Sat Mar 11 17:29:50 2000 +0000
+++ b/etc/rc.d/ipfilter Sat Mar 11 20:10:21 2000 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: ipfilter,v 1.1.1.1 2000/03/10 11:53:25 lukem Exp $
+# $NetBSD: ipfilter,v 1.2 2000/03/11 20:10:21 veego Exp $
#
# PROVIDE: ipfilter
@@ -18,7 +18,7 @@
ipfilter_start()
{
- if [ ! checkyesno ipfilter ]; then
+ if ! checkyesno ipfilter; then
return 0
fi
diff -r 1147baa4a190 -r 5db014e00d12 etc/rc.d/lkm3
--- a/etc/rc.d/lkm3 Sat Mar 11 17:29:50 2000 +0000
+++ b/etc/rc.d/lkm3 Sat Mar 11 20:10:21 2000 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: lkm3,v 1.1.1.1 2000/03/10 11:53:25 lukem Exp $
+# $NetBSD: lkm3,v 1.2 2000/03/11 20:10:21 veego Exp $
#
# PROVIDE: aftermountlkm
@@ -10,7 +10,9 @@
. /etc/rc.conf
name="lkm3"
+start_precmd="checkyesno lkm"
start_cmd="do_lkm3 start"
+stop_precmd="$start_precmd"
stop_cmd="do_lkm3 stop"
do_lkm3()
diff -r 1147baa4a190 -r 5db014e00d12 etc/rc.d/ntpdate
--- a/etc/rc.d/ntpdate Sat Mar 11 17:29:50 2000 +0000
+++ b/etc/rc.d/ntpdate Sat Mar 11 20:10:21 2000 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: ntpdate,v 1.1.1.1 2000/03/10 11:53:24 lukem Exp $
+# $NetBSD: ntpdate,v 1.2 2000/03/11 20:10:21 veego Exp $
#
# PROVIDE: ntpdate
@@ -10,6 +10,7 @@
. /etc/rc.conf
name="ntpdate"
+start_precmd="checkyesno ntpdate"
start_cmd="ntpdate_start"
stop_cmd=":"
Home |
Main Index |
Thread Index |
Old Index