Date: Thu, 29 Mar 2012 13:05:32 GMT From: Sevan Janiyan <venture37@geeklan.co.uk> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/166491: Add support for specifying flags to the rc script Message-ID: <201203291305.q2TD5Wxr018887@red.freebsd.org> Resent-Message-ID: <201203291310.q2TDABIS067402@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 166491 >Category: ports >Synopsis: Add support for specifying flags to the rc script >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 29 13:10:11 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Sevan Janiyan >Release: >Organization: >Environment: >Description: Attached patch adds support for specifying flags which the current script lacks >How-To-Repeat: >Fix: Patch attached with submission follows: --- ../openntpd.orig/files/openntpd.in 2012-03-29 12:50:46.170179089 +0100 +++ ./files/openntpd.in 2012-03-29 13:40:07.887209117 +0100 @@ -12,6 +12,8 @@ # # openntpd_enable (bool): Set to NO by default. # Set it to YES to enable openntpd. +# +# openntpd_flags Command line arguments . /etc/rc.subr @@ -24,5 +26,6 @@ load_rc_config $name : ${openntpd_enable="NO"} +: ${openntpd_flags=""} run_rc_command "$1" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203291305.q2TD5Wxr018887>