From f77d92b2bee1b2878b1b08b09763a9f47606503d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 5 Apr 2010 17:39:35 +0000 Subject: [PATCH] luci-0.9: merge r6024, r6025 --- libs/nixio/root/lib/upgrade/luci-add-conffiles.sh | 6 +++++- modules/admin-core/ipkg/postinst | 3 +-- 2 files changed, 6 insertions(+), 3 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" diff --git a/modules/admin-core/ipkg/postinst b/modules/admin-core/ipkg/postinst index 2ab7c0e2c..a756b5b29 100755 --- a/modules/admin-core/ipkg/postinst +++ b/modules/admin-core/ipkg/postinst @@ -2,7 +2,6 @@ [ -n "${IPKG_INSTROOT}" ] || { /etc/init.d/luci_fixtime enabled || /etc/init.d/luci_fixtime enable - /etc/init.d/luci_ethers enabled || /etc/init.d/luci_ethers enable - /etc/init.d/luci_hosts enabled || /etc/init.d/luci_hosts enable + /etc/init.d/luci_dhcp_migrate enabled || /etc/init.d/luci_dhcp_migrate enable exit 0 } -- 2.25.1