summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-statistics/root/lib')
-rwxr-xr-xapplications/luci-app-statistics/root/lib/upgrade/luci_statistics-add-conffiles.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/applications/luci-app-statistics/root/lib/upgrade/luci_statistics-add-conffiles.sh b/applications/luci-app-statistics/root/lib/upgrade/luci_statistics-add-conffiles.sh
new file mode 100755
index 0000000000..9024644c93
--- /dev/null
+++ b/applications/luci-app-statistics/root/lib/upgrade/luci_statistics-add-conffiles.sh
@@ -0,0 +1,8 @@
+add_luci_statistics_conffiles()
+{
+ local filelist="$1"
+ # get list of our files (and create a backup if needed)
+ /etc/init.d/luci_statistics sysupgrade_backup $filelist
+}
+
+sysupgrade_init_conffiles="$sysupgrade_init_conffiles add_luci_statistics_conffiles"