X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9de9ca8ccf0fdf0d3565c1db0e678d8d32ad3d29..2d17b93d5618cc37b3e1a4eafbb62a95a17c339f:/package/base-files/files/sbin/sysupgrade diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 4d04ab4ea..0cf51cfb7 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sysupgrade @@ -51,9 +51,8 @@ EOF add_uci_conffiles() { local file="$1" - find /etc/config/httpd /etc/config/network /etc/config/system /etc/config/wireless /etc/config/fstab \ - /etc/firewall.user /etc/rc.local /etc/passwd /etc/group /etc/hosts -type f > "$file" - find `cat /usr/lib/opkg/status | grep "Conffiles:" | grep -v -e "/etc/banner" -e "/etc/opkg.conf" |cut -d':' -f2` -type f >> "$file" + find /etc/config /etc/passwd /etc/group /etc/dropbear \ + /etc/firewall.user /etc/rc.local -type f > "$file" return 0 }