aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netmagis-topo/files/topographd.in
blob: b534e55fb919a6bc84fa5c4f092736e1e0a307de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#! /bin/sh
#
# $FreeBSD$
#

# PROVIDE: topographd
# REQUIRE: LOGIN
# KEYWORD: shutdown

#
# Add the following lines to /etc/rc.conf to enable topographd:
#
# topographd_enable="YES"
#
# # Optionnal variables:
# topographd_flags=""
# topographd_user="rancid"
#

. /etc/rc.subr

name=topographd
rcvar=topographd_enable

load_rc_config $name

: ${topographd_enable:=NO}
: ${topographd_user:=rancid}

command_interpreter=%%TCLSH%%

command=%%PREFIX%%/sbin/topographd

run_rc_command $1