mirror of
https://github.com/openwrt/openwrt.git
synced 2025-12-28 03:30:01 +04:00
Keep firewall.user during sysupgrades
SVN-Revision: 26241
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user