projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ccd1ae
)
grab all config files for installed packages, closes #3718
author
Travis Kemen
<thepeople@openwrt.org>
Wed, 3 Mar 2010 18:19:19 +0000
(18:19 +0000)
committer
Travis Kemen
<thepeople@openwrt.org>
Wed, 3 Mar 2010 18:19:19 +0000
(18:19 +0000)
SVN-Revision: 19964
package/base-files/files/sbin/sysupgrade
patch
|
blob
|
history
diff --git
a/package/base-files/files/sbin/sysupgrade
b/package/base-files/files/sbin/sysupgrade
index 0cf51cfb78692686766b14ba145ff3a92c5fae4f..4d04ab4ea5845efa50a34133146e681f1cbb35ad 100755
(executable)
--- 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
}