#!/bin/sh # $FreeBSD: head/net/apinger/files/apinger.in 401241 2015-11-11 12:59:48Z mich $ # # PROVIDE: apinger # REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # # apinger_enable (bool): Set to NO by default. # Set it to YES to enable apinger. # . /etc/rc.subr name=apinger rcvar=apinger_enable load_rc_config $name : ${apinger_enable:=NO} command=%%PREFIX%%/sbin/${name} pidfile=/var/run/${name}.pid run_rc_command "$1"