projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be7dc73
)
libs/nixio: save uhttpd certs as well
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 5 Apr 2010 17:38:05 +0000
(17:38 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 5 Apr 2010 17:38:05 +0000
(17:38 +0000)
libs/nixio/root/lib/upgrade/luci-add-conffiles.sh
patch
|
blob
|
history
diff --git
a/libs/nixio/root/lib/upgrade/luci-add-conffiles.sh
b/libs/nixio/root/lib/upgrade/luci-add-conffiles.sh
index 0d99257619d6ef489c6bcad801128b18f3be472c..77399b98724ff2dfc93a8f9c17ab3fb086242d6a 100644
(file)
--- a/
libs/nixio/root/lib/upgrade/luci-add-conffiles.sh
+++ b/
libs/nixio/root/lib/upgrade/luci-add-conffiles.sh
@@
-4,8
+4,12
@@
add_luci_conffiles()
# save ssl certs
if [ -d /etc/nixio ]; then
- find /etc/nixio >> $filelist
+ 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"