dacbbee975
- Remove useless patches [1] - Give maintainership to submitter - Changelog: https://www.caida.org/projects/spoofer/downloads/changelog.txt PR: 210883 [1] Submitted by: mjl@luckie.org.nz
31 lines
434 B
Text
31 lines
434 B
Text
# $FreeBSD$
|
|
#!/bin/sh
|
|
#
|
|
# PROVIDE: spoofer
|
|
# REQUIRE: LOGIN
|
|
# KEYWORD: shutdown
|
|
#
|
|
# Add the following lines to /etc/rc.conf to enable spoofer:
|
|
#
|
|
# spoofer_enable="YES"
|
|
#
|
|
|
|
. /etc/rc.subr
|
|
|
|
name=spoofer
|
|
rcvar=spoofer_enable
|
|
|
|
command="%%PREFIX%%/bin/spoofer-scheduler"
|
|
command_args="-D"
|
|
|
|
load_rc_config $name
|
|
|
|
: ${spoofer_enable="NO"}
|
|
: ${spoofer_flags=""}
|
|
|
|
spoofer_stop()
|
|
{
|
|
%%PREFIX%%/bin/spoofer-cli shutdown
|
|
}
|
|
|
|
run_rc_command "$1"
|