From 8c91938135acb72f236581163b0fa94a9253c3d1 Mon Sep 17 00:00:00 2001 From: roy Date: Thu, 13 Dec 2012 15:51:17 +0000 Subject: [PATCH] Add a pidfile and the reload command. --- etc/rc.d/rtadvd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/rc.d/rtadvd b/etc/rc.d/rtadvd index dd67a3cab032..23a4ad684fec 100755 --- a/etc/rc.d/rtadvd +++ b/etc/rc.d/rtadvd @@ -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 @@ $_rc_subr_loaded . /etc/rc.subr name="rtadvd" rcvar=$name command="/usr/sbin/${name}" +pidfile="/var/run/$name.pid" +extra_commands="reload" start_precmd="rtadvd_precmd" rtadvd_precmd()