aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2010-03-03 18:19:19 +0000
committerTravis Kemen <thepeople@openwrt.org>2010-03-03 18:19:19 +0000
commit249d48a68eb1d475f0cb1b17a2e0cd7813779649 (patch)
tree77668a1cd0b68b606ed1fd95537add4e3911cbb6 /package/base-files/files
parent3ccd1aeab7ecc6374a80f050857d6da97f39abc5 (diff)
downloadupstream-249d48a68eb1d475f0cb1b17a2e0cd7813779649.tar.gz
upstream-249d48a68eb1d475f0cb1b17a2e0cd7813779649.tar.bz2
upstream-249d48a68eb1d475f0cb1b17a2e0cd7813779649.zip
grab all config files for installed packages, closes #3718
SVN-Revision: 19964
Diffstat (limited to 'package/base-files/files')
-rwxr-xr-xpackage/base-files/files/sbin/sysupgrade5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade
index 0cf51cfb78..4d04ab4ea5 100755
--- a/package/base-files/files/sbin/sysupgrade
+++ b/package/base-files/files/sbin/sysupgrade
@@ -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
}