diff options
Diffstat (limited to 'net/siproxd/files/siproxd.sh.in')
-rw-r--r-- | net/siproxd/files/siproxd.sh.in | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net/siproxd/files/siproxd.sh.in b/net/siproxd/files/siproxd.sh.in new file mode 100644 index 000000000000..6c31e25d6bea --- /dev/null +++ b/net/siproxd/files/siproxd.sh.in @@ -0,0 +1,32 @@ +#!/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" |