[Midnightbsd-cvs] src: ip6fw: Don't source the script directly..
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Oct 26 10:08:51 EDT 2007
Log Message:
-----------
Don't source the script directly.. run it in a seperate shell.
Modified Files:
--------------
src/etc/rc.d:
ip6fw (r1.2 -> r1.3)
-------------- next part --------------
Index: ip6fw
===================================================================
RCS file: /home/cvs/src/etc/rc.d/ip6fw,v
retrieving revision 1.2
retrieving revision 1.3
diff -Letc/rc.d/ip6fw -Letc/rc.d/ip6fw -u -r1.2 -r1.3
--- etc/rc.d/ip6fw
+++ etc/rc.d/ip6fw
@@ -39,7 +39,7 @@
# Load rules
#
if [ -r "${ipv6_firewall_script}" ]; then
- . "${ipv6_firewall_script}"
+ /bin/sh "${ipv6_firewall_script}"
echo 'IPv6 Firewall rules loaded.'
elif [ "`ip6fw l 65535`" = "65535 deny ipv6 from any to any" ]; then
warn 'IPv6 firewall rules have not been loaded. Default' \
More information about the Midnightbsd-cvs
mailing list