#!/bin/sh # # $FreeBSD: ports/net/tac_plus4/files/tac_plus.in,v 1.1 2006/10/31 02:42:33 marcus Exp $ # # PROVIDE: tac_plus # REQUIRE: DAEMON # # Add the following line to /etc/rc.conf to enable the TACACS+ daemon: # # tac_plus_enable="YES" # tac_plus_enable=${tac_plus_enable-"NO"} tac_plus_flags=${tac_plus_flags-"-C /usr/local/etc/tac_plus.conf"} . /etc/rc.subr name=tac_plus rcvar=`set_rcvar` command="/usr/local/bin/tac_plus" pidfile="/var/run/${name}.pid" load_rc_config ${name} run_rc_command "$1"