blob: 77399b98724ff2dfc93a8f9c17ab3fb086242d6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
add_luci_conffiles()
{
local filelist="$1"
# save ssl certs
if [ -d /etc/nixio ]; then
find /etc/nixio -type f >> $filelist
fi
# save uhttpd certs
[ -f "/etc/uhttpd.key" ] && echo /etc/uhttpd.key >> $filelist
[ -f "/etc/uhttpd.crt" ] && echo /etc/uhttpd.crt >> $filelist
}
sysupgrade_init_conffiles="$sysupgrade_init_conffiles add_luci_conffiles"
|