Date: Sat, 20 Oct 2001 18:35:37 +0200 From: devet@devet.org (Arjan de Vet) To: darrenr@FreeBSD.org Cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/etc rc.network rc.shutdown src/etc/defaults rc.conf src/etc/mtree BSD.var.dist Message-ID: <20011020183537.A33620@adv.devet.org> In-Reply-To: <200110200433.f9K4XCc52779@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <200110200433.f9K4XCc52779@freefall.freebsd.org> you write: >darrenr 2001/10/19 21:33:12 PDT > > Modified files: > etc rc.network rc.shutdown > etc/defaults rc.conf > Log: > Put in place for using ipfs use on shutdown and startup. Hmm... with these default settings from defaults/rc.conf: ipfilter_program="/sbin/ipf -Fa -f" ipfs_flags="" ipfs_program="/sbin/ipfs" these kind of expressions in /etc/rc.network: ${ipfilter_program:-/sbin/ipf -y} ${ipfs_program:-/sbin/ipfs -R} ${ipfs_flags} will evaluate to: /sbin/ipf -Fa -f /sbin/ipfs and that's not what is intended in these cases I think. Furthermore I see these kind of expressions for ipfilter-related stuff preceded by 'eval' a lot. That seems unnecessary to me. Let me see if I can cleanup and test this stuff this weekend, the ipfilter_program and ipnat_program variables for example are the only *_program variables in defaults/rc.conf to have options included :-(. Arjan -- Arjan de Vet, Eindhoven, The Netherlands <devet@devet.org> URL: http://www.iae.nl/users/devet/ <Arjan.deVet@adv.iae.nl> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011020183537.A33620>