mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:14:05 +02:00
Keep firewall.user during sysupgrades
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26241 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a009ea7850
commit
d531cb04e9
@ -51,6 +51,8 @@ define Package/firewall/install
|
||||
$(INSTALL_DATA) ./files/reflection.hotplug $(1)/etc/hotplug.d/firewall/10-nat-reflection
|
||||
$(INSTALL_DIR) $(1)/etc
|
||||
$(INSTALL_DATA) ./files/firewall.user $(1)/etc
|
||||
$(INSTALL_DIR) $(1)/lib/upgrade/keep.d
|
||||
$(INSTALL_DATA) ./files/firewall.upgrade $(1)/lib/upgrade/keep.d/firewall
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,firewall))
|
||||
|
1
package/firewall/files/firewall.upgrade
Normal file
1
package/firewall/files/firewall.upgrade
Normal file
@ -0,0 +1 @@
|
||||
/etc/firewall.user
|
Loading…
Reference in New Issue
Block a user