[Bug 201973] net-mgmt/sysmon rc.d file

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 29 16:34:11 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201973

            Bug ID: 201973
           Summary: net-mgmt/sysmon rc.d file
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: george at nycbug.org
                CC: mk at oxeo.com
             Flags: maintainer-feedback?(mk at oxeo.com)
                CC: mk at oxeo.com

The net-mgmt/sysmon port does not provide a usable rc.d file, thus starting
automatically from /etc/rc.conf does not work.

The following should work as sysmond located in /usr/local/etc/rc.d, to be
placed after an install, allowing 'sysmond_enable="YES"' to be functional in
/etc/rc.conf.

#

. /etc/rc.subr

name=sysmond
rcvar=sysmond_enable

command=/usr/local/bin/sysmond

sysmond_enable=${sysmond_enable:-"NO"}
sysmond_flags=${sysmond_flags:-"-f /usr/local/etc/sysmon.conf"}

load_rc_config $name
run_rc_command "$1"

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list