Additional changes not in pr: - Remove post-install do-nada - Set NO_ARCH where appropriate - DISTVERSION -> PORTVERSION - use /var/netmagis instead of /usr/local/var/netmagis - remove @dirrm[try] from pkg-plists - remove @exec mkdir -p from pkg-plists - sort uses - relocate rc scripts to the slave they belong to - pull conditional logic out and into the slaves they affect - add metro/ws/gengraph to SHEBANG_FILES UPDATING: Upgrading from a previous version requires a database schema upgrade. See http://netmagis.org/upgrade.html PR: 201124 Submitted by: pdagog@gmail.com (maintainer)
33 lines
471 B
Bash
33 lines
471 B
Bash
#! /bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: toposendd
|
|
# REQUIRE: LOGIN
|
|
# KEYWORD: shutdown
|
|
|
|
#
|
|
# Add the following lines to /etc/rc.conf to enable toposendd:
|
|
#
|
|
# toposendd_enable="YES"
|
|
#
|
|
# # Optionnal variables:
|
|
# toposendd_flags=""
|
|
# toposendd_user="rancid"
|
|
#
|
|
|
|
. /etc/rc.subr
|
|
|
|
name=toposendd
|
|
rcvar=toposendd_enable
|
|
|
|
load_rc_config $name
|
|
|
|
: ${toposendd_enable:=NO}
|
|
: ${toposendd_user:=rancid}
|
|
|
|
command_interpreter=%%TCLSH%%
|
|
command=%%PREFIX%%/sbin/toposendd
|
|
|
|
run_rc_command $1
|