grab all config files for installed packages, closes #3718
SVN-Revision: 19964
This commit is contained in:
parent
3ccd1aeab7
commit
249d48a68e
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue