kernel: add md5sum of kernel
[openwrt.git] / package / base-files / files / sbin / sysupgrade
index 1210e6e..3d76bb3 100755 (executable)
@@ -55,8 +55,9 @@ 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;
+       ( 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
 }
          opkg list-changed-conffiles ) | sort -u > "$file"
        return 0
 }
This page took 0.020555 seconds and 4 git commands to generate.