看板 FB_bugs 關於我們 聯絡資訊
>Number: 136875 >Category: misc >Synopsis: <software>_flags appending >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 17 19:30:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ruud Althuizen >Release: 7.2-STABLE >Organization: >Environment: FreeBSD hyde.il.fontys.nl 7.2-STABLE FreeBSD 7.2-STABLE #0: Fri Jun 12 00:01:27 CEST 2009 root@hyde.il.fontys.nl:/usr/obj/usr/src/sys/HYDE i386 >Description: When configuring software in /etc/rc.conf I sometimes find that I want to append something to <software>_flags instead of overwriting it. This may be the case for long lines or lines where the defaults are sensible but just missing stuff. For example in the mailgraph rc-script, the default is: : ${mailgraph_flags="--logfile /var/log/maillog --daemon-rrd=/var/db/mailgraph --ignore-localhost --daemon --daemon-pid=${mailgraph_pidfile}" I just want the '--rbl-is-spam' flag added. In this case another problem occurs, predefined variables are used (the pidfile). So that would mean I need to define both or define them in one go. >How-To-Repeat: >Fix: I propose to have /etc/rc.subr line 594 (eval rc_flags=\$${name}_flags) expanded to include something like \$${name}_flags_append >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"