aboutsummaryrefslogtreecommitdiffstats
path: root/net/ss5/files/ss5.in
blob: 779fd548b4eab13f6c911f639ddd8fcc96345d85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/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"