diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-04-05 17:38:05 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-04-05 17:38:05 +0000 |
commit | 74f118ab5c48dce01f2ac97c5739c3e1740a101e (patch) | |
tree | 77e381b4bcc1a9da5a12ffa6fd544a3f38e2a3e7 /libs/nixio/root | |
parent | be7dc732ef8d413599711bf14b8806f302c9ba59 (diff) |
libs/nixio: save uhttpd certs as well
Diffstat (limited to 'libs/nixio/root')
-rw-r--r-- | libs/nixio/root/lib/upgrade/luci-add-conffiles.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/nixio/root/lib/upgrade/luci-add-conffiles.sh b/libs/nixio/root/lib/upgrade/luci-add-conffiles.sh index 0d9925761..77399b987 100644 --- 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" |