freebsd-ports/net/ss5/files/ss5.in
Rong-En Fan fcd0f472f0 Add ss5 3.6.1, SOCKS v4/v5 application layer gateway with many features
PR:		ports/111187
Submitted by:	Raffaele De Lorenzo <raffaele.delorenzo at libero.it>
2007-04-16 11:59:08 +00:00

26 lines
395 B
Bash

#!/bin/sh
# PROVIDE: ss5
# REQUIRE: LOGIN
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# ss5_enable (bool): Set to NO by default.
# Set it to YES to enable ss5.
#
. %%RC_SUBR%%
name="ss5"
rcvar=${name}_enable
command=%%PREFIX%%/sbin/${name}
load_rc_config $name
: ${ss5_enable="NO"}
: ${ss5_flags="-t"}
run_rc_command "$1"