summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/sysupgrade
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-05 07:40:25 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-05 07:40:25 +0000
commit768e3f0496554d89a23b312eb2d50d9af5c2ce62 (patch)
treea72e0ad4e3c76b4c7f0444b60586bdd63431f913 /package/base-files/files/sbin/sysupgrade
parent77e11c0896b02aea399f90dc09f8aba87bd20679 (diff)
[package] base-files: sysupgrade: merge info from "opkg list-changed-conffiles" to backup file list
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23233 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/sbin/sysupgrade')
-rwxr-xr-xpackage/base-files/files/sbin/sysupgrade5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade
index 0fb07530e..1210e6e50 100755
--- a/package/base-files/files/sbin/sysupgrade
+++ b/package/base-files/files/sbin/sysupgrade
@@ -55,8 +55,9 @@ EOF
add_uci_conffiles() {
local file="$1"
- find /etc/config /etc/passwd /etc/group /etc/dropbear \
- /etc/firewall.user /etc/rc.local -type f > "$file"
+ ( find /etc/config /etc/passwd /etc/group /etc/dropbear \
+ /etc/firewall.user /etc/rc.local -type f;
+ opkg list-changed-conffiles ) | sort -u > "$file"
return 0
}