Bug 241571 - [PATCH] net-mgmt/fastnetmon rc script improvement
Summary: [PATCH] net-mgmt/fastnetmon rc script improvement
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Babak Farrokhi
URL: https://fastnetmon.com/
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-29 14:34 UTC by Leo Vandewoestijne
Modified: 2020-02-06 15:40 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (farrokhi)


Attachments
fastnetmon (659 bytes, patch)
2019-10-29 14:34 UTC, Leo Vandewoestijne
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Vandewoestijne 2019-10-29 14:34:22 UTC
Created attachment 208677 [details]
fastnetmon

fastnetmon expects /etc/fastnetmon.conf but the port installs by default in /usr/local/etc/fastnetmon.conf

The fastnetmon_flags in rc.conf allows for adding "--configuration_file /usr/local/etc/fastnetmon.conf", but why not make that the default?

Attached patch does that.
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-02-06 13:38:27 UTC
A commit references this bug:

Author: farrokhi
Date: Thu Feb  6 13:38:12 UTC 2020
New revision: 525378
URL: https://svnweb.freebsd.org/changeset/ports/525378

Log:
  net-mgmt/fastnetmon: Improve RC script

  - Instruct fastnetmaon to read configuration file from PREFIX
  - Bump PORTREVISION

  PR:		241571
  Submitted by:	Leo Vandewoestijne <freebsd@dns.company>

Changes:
  head/net-mgmt/fastnetmon/Makefile
  head/net-mgmt/fastnetmon/files/fastnetmon.in