diff options
Diffstat (limited to 'applications/luci-app-statistics/root/lib')
-rwxr-xr-x | applications/luci-app-statistics/root/lib/upgrade/luci_statistics-add-conffiles.sh | 8 |
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" |