diff --git a/etc/rc.firewall b/etc/rc.firewall index 922fe14f132..37428808e7a 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 ;; diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index 4a609c1d810..4ef54a01e4d 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -168,10 +168,8 @@ are .Dq client - basic protection for a workstation; .Dq simple -- basic protection for a LAN. -If a filename is specified, the full path must be given; -if the file is executable, it is sourced, otherwise if the file is -just readable, it is used as input into the ipfw program. +- basic protection for a LAN. If a filename is specified, the full path +must be given. .It Ar firewall_quiet (bool) Set to .Ar YES