diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2015-07-08 02:25:27 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2015-07-08 02:25:27 +0000 |
commit | 6d19c7ffe11ddff001ba618258be9c33162a73f4 (patch) | |
tree | 94e00384fd92797520e552709471bc374e3ab633 /net-mgmt/netmagis-topo/files/toposendd.in | |
parent | 9ef8e11cbfa8e0127301a078864cc614dc410f40 (diff) | |
download | ports-6d19c7ffe11ddff001ba618258be9c33162a73f4.tar.gz ports-6d19c7ffe11ddff001ba618258be9c33162a73f4.zip |
Notes
Diffstat (limited to 'net-mgmt/netmagis-topo/files/toposendd.in')
-rw-r--r-- | net-mgmt/netmagis-topo/files/toposendd.in | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-mgmt/netmagis-topo/files/toposendd.in b/net-mgmt/netmagis-topo/files/toposendd.in new file mode 100644 index 000000000000..6dfde1681a6d --- /dev/null +++ b/net-mgmt/netmagis-topo/files/toposendd.in @@ -0,0 +1,33 @@ +#! /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 |