#!/bin/sh # Start or stop scanlogd # $FreeBSD: head/security/scanlogd/files/scanlogd.in 340872 2014-01-24 00:14:07Z mat $ # PROVIDE: scanlogd # REQUIRE: LOGIN # KEYWORD: shutdown # Add the following lines to /etc/rc.conf to enable scanlogd: # scanlogd_enable="YES" # scanlogd_flags="" . /etc/rc.subr name="scanlogd" rcvar=scanlogd_enable command="%%PREFIX%%/bin/${name}" load_rc_config $name : ${scanlogd_enable-"NO"} # Enable scanlogd run_rc_command "$1"