diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-03-05 13:45:09 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-03-05 13:45:09 +0000 |
commit | d75c632de69c9b97dd5f25f6c89bef42253091f2 (patch) | |
tree | d1aaade54ae41a8df1d5250b82dd2c4aefab381c /package/network/config/firewall3/Makefile | |
parent | 9ee69a94b7a0e2ca3c99c0d12df618a044a7ead7 (diff) | |
download | master-31e0f0ae-d75c632de69c9b97dd5f25f6c89bef42253091f2.tar.gz master-31e0f0ae-d75c632de69c9b97dd5f25f6c89bef42253091f2.tar.bz2 master-31e0f0ae-d75c632de69c9b97dd5f25f6c89bef42253091f2.zip |
firewall3: add default config and firewall.user
SVN-Revision: 35889
Diffstat (limited to 'package/network/config/firewall3/Makefile')
-rw-r--r-- | package/network/config/firewall3/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/network/config/firewall3/Makefile b/package/network/config/firewall3/Makefile index 66da421327..cd9405eae4 100644 --- a/package/network/config/firewall3/Makefile +++ b/package/network/config/firewall3/Makefile @@ -33,6 +33,11 @@ define Package/firewall3/description This package provides a config-compatible C implementation of the UCI firewall. endef +define Package/firewall3/conffiles +/etc/config/firewall +/etc/firewall.user +endef + define Package/firewall3/install $(INSTALL_DIR) $(1)/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/firewall3 $(1)/sbin/fw3 @@ -40,6 +45,10 @@ define Package/firewall3/install $(INSTALL_BIN) ./files/firewall.init $(1)/etc/init.d/firewall $(INSTALL_DIR) $(1)/etc/hotplug.d/iface $(INSTALL_DATA) ./files/firewall.hotplug $(1)/etc/hotplug.d/iface/20-firewall + $(INSTALL_DIR) $(1)/etc/config/ + $(INSTALL_DATA) ./files/firewall.config $(1)/etc/config/firewall + $(INSTALL_DIR) $(1)/etc/ + $(INSTALL_DATA) ./files/firewall.user $(1)/etc/firewall.user endef $(eval $(call BuildPackage,firewall3)) |