summaryrefslogtreecommitdiffstats
path: root/etc/rc.firewall
diff options
context:
space:
mode:
authorbsd <bsd@FreeBSD.org>2000-04-27 00:48:59 +0000
committerbsd <bsd@FreeBSD.org>2000-04-27 00:48:59 +0000
commita5a543c27bf6808ea0d0a258890809714d4a7445 (patch)
tree030eb28bc12879020e7187aa07144fe609f6d189 /etc/rc.firewall
parent83086c2885ba48701d022b15e141f643e957cf7c (diff)
downloadFreeBSD-src-a5a543c27bf6808ea0d0a258890809714d4a7445.zip
FreeBSD-src-a5a543c27bf6808ea0d0a258890809714d4a7445.tar.gz
Back out the hook to execute the file ${firewall_type}. The intended
purpose of the hook was to provide the ability for a shell program to instantiate the firewall rules instead of forcing them to be statically coded. This functionality was already present through the use of ${firewall_script}, and I see no need to keep the ${firewall_type} hook around. Reminded by: Dag-Erling Smorgrav <des@freebsd.org>
Diffstat (limited to 'etc/rc.firewall')
-rw-r--r--etc/rc.firewall4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/rc.firewall b/etc/rc.firewall
index 922fe14..3742880 100644
--- a/etc/rc.firewall
+++ b/etc/rc.firewall
@@ -228,9 +228,7 @@ case ${firewall_type} in
[Uu][Nn][Kk][Nn][Oo][Ww][Nn])
;;
*)
- if [ -x "${firewall_type}" ]; then
- . ${firewall_type}
- elif [ -r "${firewall_type}" ]; then
+ if [ -r "${firewall_type}" ]; then
${fwcmd} ${firewall_flags} ${firewall_type}
fi
;;
OpenPOWER on IntegriCloud