summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/Makefile
diff options
context:
space:
mode:
authorDaniel Dickinson <openwrt@daniel.thecshore.com>2015-12-01 21:36:30 -0500
committerDaniel Dickinson <openwrt@daniel.thecshore.com>2015-12-12 22:45:29 -0500
commit403b939acd55be528fa78bfc11521c78b1afdad8 (patch)
treee7ea2173f35cafdec8b4eb827b162e716ba89c3e /modules/luci-base/Makefile
parent63155e99325d2f7b57eee99496648e7a3cf6c14b (diff)
modules/luci-base: Move LuCI FileUpload directory to /etc/luci-uploads and save across sysupgrade
/lib/uci/upload is a rather odd place for configuration files Also the files were not saved across sysupgrade, which is somewhat counter-productive for configuration files. Signed-off By: Daniel Dickinson <openwrt@daniel.thecshore.com>
Diffstat (limited to 'modules/luci-base/Makefile')
-rw-r--r--modules/luci-base/Makefile4
1 files changed, 4 insertions, 0 deletions
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