From: Jo-Philipp Wich Date: Tue, 15 Dec 2015 22:08:17 +0000 (+0100) Subject: Merge pull request #564 from cshore/pull-request-app-firewall-timedate X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=f25c4e07bc9642e0491d3a4ab3942a69545891e9;hp=986baa5ccee13692e9c1ef5a23535e15b7fcb948 Merge pull request #564 from cshore/pull-request-app-firewall-timedate Pull request app firewall timedate --- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a392ade0c..e4edf0c15 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,7 +10,7 @@ Regardless of whether you send a patch or open a pull request, please try to fol * Have a useful subject prefixed with the component name (E.g.: "luci-mod-admin-full: fix wifi channel selection on multiple STA networks") * Shortly explain the changes made and - if applicable - the reasoning behind them -* Include Signed-off-by in the comment +* Commit message of each commit should include a Signed-off-by line (See ) In case you like to send patches by mail, please use the [LuCI mailinglist](https://lists.subsignal.org/mailman/listinfo/luci) diff --git a/modules/luci-base/Makefile b/modules/luci-base/Makefile index 26cbe0820..a9c5e71cb 100644 --- a/modules/luci-base/Makefile +++ b/modules/luci-base/Makefile @@ -22,6 +22,10 @@ HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/LuaSrcDiet-0.12.1 include $(INCLUDE_DIR)/host-build.mk +define Package/luci-base/conffiles +/etc/luci-uploads +endef + include ../../luci.mk define Host/Configure diff --git a/modules/luci-base/luasrc/cbi.lua b/modules/luci-base/luasrc/cbi.lua index b5b2c8d8f..8fd0a337e 100644 --- a/modules/luci-base/luasrc/cbi.lua +++ b/modules/luci-base/luasrc/cbi.lua @@ -38,7 +38,7 @@ function load(cbimap, ...) require("luci.config") require("luci.util") - local upldir = "/lib/uci/upload/" + local upldir = "/etc/luci-uploads/" local cbidir = luci.util.libpath() .. "/model/cbi/" local func, err diff --git a/modules/luci-base/root/etc/luci-uploads/.placeholder b/modules/luci-base/root/etc/luci-uploads/.placeholder new file mode 100644 index 000000000..e69de29bb diff --git a/modules/luci-base/root/lib/uci/upload/.placeholder b/modules/luci-base/root/lib/uci/upload/.placeholder deleted file mode 100644 index e69de29bb..000000000