Add a pidfile and the reload command.

This commit is contained in:
roy 2012-12-13 15:51:17 +00:00
parent baf998f70e
commit 8c91938135

View File

@ -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()