summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-04-24 18:14:52 +0000
committermtm <mtm@FreeBSD.org>2003-04-24 18:14:52 +0000
commitb41f46abfe714faaee254d7e7566de9152bd9efa (patch)
tree1612ae64bbdd80790832739a9020b2094b82145d /etc/rc.d
parente24fc5cd2114be8185898edffd1ee3cef0ad2ebe (diff)
downloadFreeBSD-src-b41f46abfe714faaee254d7e7566de9152bd9efa.zip
FreeBSD-src-b41f46abfe714faaee254d7e7566de9152bd9efa.tar.gz
Use $ipnat_program instead of the hardcoded path, which was wron
anyways. Approved by: markm (mentor) (implicit) Submitted by: leafy <leafy@leafy.idv.tw>
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/ipnat2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/ipnat b/etc/rc.d/ipnat
index 7d699f4..7913131 100755
--- a/etc/rc.d/ipnat
+++ b/etc/rc.d/ipnat
@@ -59,7 +59,7 @@ ipnat_start()
return 0
fi
echo -n "Installing NAT rules ... "
- /usr/sbin/ipnat -CF -f ${ipnat_rules} ${ipnat_flags}
+ ${ipnat_program} -CF -f ${ipnat_rules} ${ipnat_flags}
}
run_rc_command "$1"
OpenPOWER on IntegriCloud