From a2cd7b28837895cf2011a4ee02637d5e0e2fe03d Mon Sep 17 00:00:00 2001 From: Travis Kemen Date: Sun, 20 Mar 2011 00:57:47 +0000 Subject: [PATCH] Keep firewall.user during sysupgrades SVN-Revision: 26241 --- package/firewall/Makefile | 2 ++ package/firewall/files/firewall.upgrade | 1 + 2 files changed, 3 insertions(+) create mode 100644 package/firewall/files/firewall.upgrade diff --git a/package/firewall/Makefile b/package/firewall/Makefile index a8a62c287d..15237ff8f4 100644 --- a/package/firewall/Makefile +++ b/package/firewall/Makefile @@ -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)) diff --git a/package/firewall/files/firewall.upgrade b/package/firewall/files/firewall.upgrade new file mode 100644 index 0000000000..64f63eb390 --- /dev/null +++ b/package/firewall/files/firewall.upgrade @@ -0,0 +1 @@ +/etc/firewall.user -- 2.30.2