diff options
Diffstat (limited to 'net/iplog/files/iplog.in')
-rw-r--r-- | net/iplog/files/iplog.in | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net/iplog/files/iplog.in b/net/iplog/files/iplog.in new file mode 100644 index 000000000000..6731648d650b --- /dev/null +++ b/net/iplog/files/iplog.in @@ -0,0 +1,30 @@ +#!/bin/sh + +# $FreeBSD$ +# +# PROVIDE: iplog +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# iplog_enable (bool): Set to NO by default. +# Set it to YES to enable iplog. +# + +. /etc/rc.subr + +name="iplog" +rcvar=${name}_enable + +command=%%PREFIX%%/sbin/${name} +pidfile=/var/run/${name}/${name}.pid + +load_rc_config $name + +: ${iplog_enable="NO"} + +command_args="-d -z" + +run_rc_command "$1" |