summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/nixio/root/lib/upgrade/luci-add-conffiles.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/nixio/root/lib/upgrade/luci-add-conffiles.sh b/libs/nixio/root/lib/upgrade/luci-add-conffiles.sh
new file mode 100644
index 000000000..0d9925761
--- /dev/null
+++ b/libs/nixio/root/lib/upgrade/luci-add-conffiles.sh
@@ -0,0 +1,12 @@
+add_luci_conffiles()
+{
+ local filelist="$1"
+
+ # save ssl certs
+ if [ -d /etc/nixio ]; then
+ find /etc/nixio >> $filelist
+ fi
+}
+
+sysupgrade_init_conffiles="$sysupgrade_init_conffiles add_luci_conffiles"
+