1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/net/siproxd/files/siproxd.sh.in
Ion-Mihai Tetcu 4171b2a448 - Regular update to version 0.5.12.
- use modern USE_RC_SUBR

PR:		96054
Submitted by:	Frank W. Josellis (maintainer)
Approved by:	lawrance (mentor)
2006-05-18 06:15:39 +00:00

33 lines
665 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: siproxd
# REQUIRE: DAEMON
#
# NOTE for FreeBSD 5.0+:
# If you want this script to start with the base rc scripts
# move siproxd.sh to /etc/rc.d/siproxd
# Define these siproxd_* variables in one of these files:
# /etc/rc.conf
# /etc/rc.conf.local
# /etc/rc.conf.d/siproxd
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
siproxd_enable=${siproxd_enable:-"NO"} # Enable siproxd
siproxd_flags=${siproxd_flags:-""} # Flags to siproxd program
#siproxd_program="%%PREFIX%%/sbin/siproxd" # Location of siproxd
. %%RC_SUBR%%
name="siproxd"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/${name}"
load_rc_config $name
run_rc_command "$1"