1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 17:55:55 +02:00

grab all config files for installed packages, closes #3718

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19964 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
thepeople 2010-03-03 18:19:19 +00:00
parent d86402b68f
commit 9de9ca8ccf

View File

@ -51,8 +51,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/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"
return 0
}