[package] hostap-driver: Fix adhoc mode
[openwrt.git] / package / base-files / files / sbin / sysupgrade
index 0fb0753..3d76bb3 100755 (executable)
@@ -55,8 +55,10 @@ 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 $(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
 }
 
This page took 0.027085 seconds and 4 git commands to generate.