mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 00:20:40 -04:00
25 lines
396 B
Bash
25 lines
396 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.
|
|
#
|
|
|
|
. /etc/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"
|