diff options
author | dougb <dougb@FreeBSD.org> | 2000-12-17 22:14:49 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2000-12-17 22:14:49 +0000 |
commit | ccc9a8e8764a5c6e8421d6fa0a4765eeb0b7c7e6 (patch) | |
tree | 624ea4f723538fee094d5b8fa00c12d3c02db07a /etc/rc.network | |
parent | 123cf0fb40bd3a5925917aacaebb0588ad0d6534 (diff) | |
download | FreeBSD-src-ccc9a8e8764a5c6e8421d6fa0a4765eeb0b7c7e6.zip FreeBSD-src-ccc9a8e8764a5c6e8421d6fa0a4765eeb0b7c7e6.tar.gz |
* Add an eval so that ipnat_flags=">/dev/null" works, per the PR
* Do some line length and specify full path cleanups while I'm here
PR: conf/22937
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Diffstat (limited to 'etc/rc.network')
-rw-r--r-- | etc/rc.network | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/rc.network b/etc/rc.network index 1e67911..ef6c603 100644 --- a/etc/rc.network +++ b/etc/rc.network @@ -64,18 +64,20 @@ network_pass1() { [Yy][Ee][Ss]) if [ -r "${ipfilter_rules}" ]; then echo -n ' ipfilter'; - ${ipfilter_program:-ipf -Fa -f} "${ipfilter_rules}" ${ipfilter_flags} + ${ipfilter_program:-/sbin/ipf -Fa -f} \ + "${ipfilter_rules}" ${ipfilter_flags} case "${ipmon_enable}" in [Yy][Ee][Ss]) echo -n ' ipmon' - ${ipmon_program:-ipmon} ${ipmon_flags} + ${ipmon_program:-/sbin/ipmon} ${ipmon_flags} ;; esac case "${ipnat_enable}" in [Yy][Ee][Ss]) if [ -r "${ipnat_rules}" ]; then echo -n ' ipnat'; - ${ipnat_program:-ipnat -CF -f} "${ipnat_rules}" ${ipnat_flags} + eval ${ipnat_program:-/sbin/ipnat -CF -f} \ + "${ipnat_rules}" ${ipnat_flags} else echo -n ' NO IPNAT RULES' fi |