ports/166491: Add support for specifying flags to the rc script

Sevan Janiyan venture37 at geeklan.co.uk
Thu Mar 29 13:10:11 UTC 2012


>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:



More information about the freebsd-ports-bugs mailing list