mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 12:40:45 -04:00
25 lines
463 B
Bash
25 lines
463 B
Bash
#!/bin/sh
|
|
|
|
# PROVIDE: siproxd
|
|
# REQUIRE: DAEMON
|
|
|
|
# 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="YES"
|
|
# siproxd_flags Flags to siproxd program
|
|
|
|
siproxd_enable=${siproxd_enable:-"NO"} # Enable siproxd
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="siproxd"
|
|
rcvar=siproxd_enable
|
|
command="%%PREFIX%%/sbin/${name}"
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|