1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-27 00:21:07 +02:00

[package] firewall: move include sourcing into a subshell, this makes the firewall init immune against exit in the include scripts

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25835 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2011-03-02 19:20:29 +00:00
parent ab7967640b
commit a4666fa483
2 changed files with 5 additions and 3 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=firewall
PKG_VERSION:=2
PKG_RELEASE:=22
PKG_RELEASE:=23
include $(INCLUDE_DIR)/package.mk

View File

@ -271,8 +271,10 @@ fw_load_notrack_zone() {
fw_load_include() {
local name="$1"
local path; config_get path ${name} path
[ -e $path ] && . $path
local path
config_get path ${name} path
[ -e $path ] && ( . $path )
}