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 a pidfile and the reload command.



details:   https://anonhg.NetBSD.org/src/rev/5b0822d45e2e
branches:  trunk
changeset: 783287:5b0822d45e2e
user:      roy <roy%NetBSD.org@localhost>
date:      Thu Dec 13 15:51:17 2012 +0000

description:
Add a pidfile and the reload command.

diffstat:

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

diffs (20 lines):

diff -r 300fa617e091 -r 5b0822d45e2e etc/rc.d/rtadvd
--- a/etc/rc.d/rtadvd   Thu Dec 13 15:40:05 2012 +0000
+++ b/etc/rc.d/rtadvd   Thu Dec 13 15:51:17 2012 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: rtadvd,v 1.6 2004/08/13 18:08:03 mycroft Exp $
+# $NetBSD: rtadvd,v 1.7 2012/12/13 15:51:17 roy Exp $
 #
 
 # PROVIDE: rtadvd
@@ -12,6 +12,8 @@
 name="rtadvd"
 rcvar=$name
 command="/usr/sbin/${name}"
+pidfile="/var/run/$name.pid"
+extra_commands="reload"
 start_precmd="rtadvd_precmd"
 
 rtadvd_precmd()



Home | Main Index | Thread Index | Old Index