aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netmagis-topo/files/topographd.in
blob: 9a7efb95a752c0208719ecc0b4c5daa99ec3d6be (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
#! /bin/sh

# 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