Source-Changes-HG archive

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

[src/trunk]: src/etc/rc.d ipmon -D writes a pidfile; use it



details:   https://anonhg.NetBSD.org/src/rev/064d1135515d
branches:  trunk
changeset: 538461:064d1135515d
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Oct 21 05:20:00 2002 +0000

description:
ipmon -D writes a pidfile; use it

diffstat:

 etc/rc.d/ipmon |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 51c0f8b62607 -r 064d1135515d etc/rc.d/ipmon
--- a/etc/rc.d/ipmon    Mon Oct 21 05:08:23 2002 +0000
+++ b/etc/rc.d/ipmon    Mon Oct 21 05:20:00 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: ipmon,v 1.9 2002/04/18 05:02:01 lukem Exp $
+# $NetBSD: ipmon,v 1.10 2002/10/21 05:20:00 lukem Exp $
 #
 
 # PROVIDE: ipmon
@@ -13,6 +13,7 @@
 rcvar=$name
 command="/usr/sbin/${name}"
 command_args="-D"
+pidfile="/var/run/${name}.pid"
 
 load_rc_config $name
 run_rc_command "$1"



Home | Main Index | Thread Index | Old Index