kernel: add md5sum of kernel
[openwrt.git] / package / base-files / files / sbin / sysupgrade
index 0fb0753..3d76bb3 100755 (executable)
@@ -55,8 +55,10 @@ EOF
 
 add_uci_conffiles() {
        local file="$1"
 
 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 $(sed -ne '/^[[:space:]]*$/d; /^#/d; p' \
+               /etc/sysupgrade.conf /lib/upgrade/keep.d/* 2>/dev/null) \
+               -type f 2>/dev/null;
+         opkg list-changed-conffiles ) | sort -u > "$file"
        return 0
 }
 
        return 0
 }
 
This page took 0.024355 seconds and 4 git commands to generate.