2
0
forked from Ivasoft/openwrt

base-files: sysupgrade: restrict find command to plain files to avoid duplicates when generating the conffiles tgz archive

SVN-Revision: 18455
This commit is contained in:
Jo-Philipp Wich
2009-11-20 23:02:35 +00:00
parent 60a4353fdd
commit 4d9b1d6c75
2 changed files with 3 additions and 2 deletions

View File

@@ -51,7 +51,8 @@ EOF
add_uci_conffiles() {
local file="$1"
find /etc/config /etc/passwd /etc/group /etc/dropbear /etc/firewall.user /etc/rc.local > "$file"
find /etc/config /etc/passwd /etc/group /etc/dropbear \
/etc/firewall.user /etc/rc.local -type f > "$file"
return 0
}