blob: be858ca7d2555036f99adb4f5e1d79ba9a23b1da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
# PROVIDE: knockd
# REQUIRE: DAEMON
# BEFORE: LOGIN
. /etc/rc.subr
name="knockd"
rcvar=`set_rcvar`
load_rc_config $name
knockd_enable=${knockd_enable:-"NO"}
knockd_flags=${knockd_flags:-"-d"}
command="%%PREFIX%%/bin/knockd"
pidfile="%%RUNDIR%%/knockd.pid"
required_files="%%PREFIX%%/etc/knockd.conf"
run_rc_command "$1"
|