Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/rc.d You need to add a xxx_precmd with a checkyesno yyy ...
details: https://anonhg.NetBSD.org/src/rev/420eb1d459fc
branches: trunk
changeset: 485433:420eb1d459fc
user: veego <veego%NetBSD.org@localhost>
date: Thu Apr 27 20:58:26 2000 +0000
description:
You need to add a xxx_precmd with a checkyesno yyy if you use a xxx_cmd
in an rc.d script.
diffstat:
etc/rc.d/postfix | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 5fafca88030f -r 420eb1d459fc etc/rc.d/postfix
--- a/etc/rc.d/postfix Thu Apr 27 20:55:04 2000 +0000
+++ b/etc/rc.d/postfix Thu Apr 27 20:58:26 2000 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: postfix,v 1.1 2000/04/26 05:28:04 thorpej Exp $
+# $NetBSD: postfix,v 1.2 2000/04/27 20:58:26 veego Exp $
#
# PROVIDE: mail
@@ -19,8 +19,10 @@
}
start_precmd="postfix_start_precmd"
+stop_precmd="checkyesno postfix"
stop_cmd="postfix stop"
+reload_precmd="checkyesno postfix"
reload_cmd="postfix reload"
name="postfix"
Home |
Main Index |
Thread Index |
Old Index