Module Name: src Committed By: roy Date: Thu Dec 13 15:51:17 UTC 2012
Modified Files: src/etc/rc.d: rtadvd Log Message: Add a pidfile and the reload command. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/etc/rc.d/rtadvd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/etc/rc.d/rtadvd diff -u src/etc/rc.d/rtadvd:1.6 src/etc/rc.d/rtadvd:1.7 --- src/etc/rc.d/rtadvd:1.6 Fri Aug 13 18:08:03 2004 +++ src/etc/rc.d/rtadvd Thu Dec 13 15:51:17 2012 @@ -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()