summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-diag-devinfo
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2016-12-10 11:20:01 +0200
committerHannu Nyman <hannu.nyman@iki.fi>2016-12-10 11:20:01 +0200
commitdad185e2c9b57f458fdc8701f401e6956eaaa406 (patch)
treedd8e8545f5c5e18977a046a70d4563319adcc32c /applications/luci-app-diag-devinfo
parenta7c5c018b6782f4160410981c723c82db9762ff7 (diff)
Fix config files getting overwritten in opkg install
Commit 39ff053890 accidentally removed the conffiles definitions from luci-base, statistics, splash and diag-devinfo apps. That has caused existing config files to get overwritten if the package has been reinstalled via opkg. Additionally, the splash text files have not been saved in sysupgrade or backup as they are located outside /etc/config This commit adds back the conffiles definitions to the respective packages. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-diag-devinfo')
-rw-r--r--applications/luci-app-diag-devinfo/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-app-diag-devinfo/Makefile b/applications/luci-app-diag-devinfo/Makefile
index 0424fffa0..1505b6212 100644
--- a/applications/luci-app-diag-devinfo/Makefile
+++ b/applications/luci-app-diag-devinfo/Makefile
@@ -9,6 +9,10 @@ include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI Diagnostics Tools (Device Info)
LUCI_DEPENDS:=+luci-app-diag-core +smap +netdiscover +mac-to-devinfo +httping +smap-to-devinfo +netdiscover-to-devinfo @BROKEN
+define Package/luci-app-diag-devinfo/conffiles
+/etc/config/luci_devinfo
+endef
+
include ../../luci.mk
# call BuildPackage - OpenWrt buildroot signature